Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26244",
"name": "Electra Townie 24” kettinggeleider crankstel",
"price": "44.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 1
}
,
{
"id": "26237",
"name": "Electra Townie kettinggeleider crankstel",
"price": "44.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "35944",
"name": "Electra Townie Go! 7D Gen 2 crankstel",
"price": "39.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "26243",
"name": "Electra Townie crankstel",
"price": "34.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "41619",
"name": "Electra Cruiser 170mm Chainguide Crankset",
"price": "29.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "41620",
"name": "Electra Cruiser 152mm Chainguide Crankset",
"price": "29.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "35945",
"name": "Electra Cruiser Go! Crankstel",
"price": "29.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "26234",
"name": "Electra Amsterdam Original 3 crankstel",
"price": "29.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "26239",
"name": "Electra Cruiser ééndelige crankarmset",
"price": "14.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "26232",
"name": "Electra Straight 8 3i crankstel",
"price": "12.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}