if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "33566",
"name": "Trek Allant+ & Diamant Zouma+ Fender Wire Cover",
"price": "8.9",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44921",
"name": "Tubus Rear Fender to Rack 4mm Spacer",
"price": "8.9",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32450",
"name": "Trek Allant+/Diamant Zouma+ 2020 E-bike Aluminum Frame Front Fender Bolt Locking Tab",
"price": "8.9",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44922",
"name": "Tubus Rear Fender to Rack 10mm Spacer",
"price": "8.9",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44392",
"name": "Electra Curved Plastic Fender Washer",
"price": "8.9",
"brand": "Bontrager-Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}