if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "27337",
"name": "Diamant 2019-2020 Juna+ Front Cargo Rack",
"price": "59.99",
"brand": "Diamant",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "42058",
"name": "Bontrager MIK Electric BackRack",
"price": "49.99",
"brand": "Trek-Diamant",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42059",
"name": "Trek 2021 Allant+/Diamant Zouma+ Rear Cargo Rack",
"price": "29.99",
"brand": "Trek-Diamant",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27086",
"name": "Zvonček na bicykel Electra Linear",
"price": "19.99",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44092",
"name": "Electra Loft Fork Crown Fender/Fork Shim",
"price": "4.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44298",
"name": "Electra Loft/Loft Go! Rear Fender Plug",
"price": "4.99",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}