Overzicht
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "26737",
"name": "Electra Amsterdam spatbordsteunset",
"price": "24.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "44689",
"name": "Electra Loft Go! 7D Rear Lower Fender Strut",
"price": "17.49",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "44690",
"name": "Electra Loft Go! 7D Rear Upper Fender Strut",
"price": "17.49",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "44688",
"name": "Electra Loft Go! 7D Front Fender Strut",
"price": "17.49",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "33523",
"name": "Electra Vale GO! Achterspatbordsteun",
"price": "10.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "37152",
"name": "Electra 27,5” Cruiser Go! Achterspatbordsteun",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "37149",
"name": "Electra 27,5” Cruiser Go! & Townie Go! 7D voorspatbordsteun",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "37150",
"name": "Electra 26” Cruiser Go! & Townie Go! 7D voorspatbordsteun",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "37151",
"name": "Electra 27,5" Townie Go! 7D achterspatbordsteun",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 9
}
,
{
"id": "37154",
"name": "Electra 26" Townie Go! 7D achterspatbordsteun",
"price": "8.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "More Options",
"position": 10
}
,
{
"id": "25431",
"name": "Electra 26" Cruiser 330 mm achterspatbordsteun en verbindingsstuk",
"price": "6.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "More Options",
"position": 11
}
,
{
"id": "25430",
"name": "Electra 26" Cruiser 355 mm voorspatbordsteun en verbindingsstuk",
"price": "4.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}