if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "180.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25852",
"name": "Trek Speed Concept Aerobar Pad Holder Wing",
"price": "120.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44556",
"name": "Trek Speed Concept Gen 3 Aerobar Replacement Pads",
"price": "74.9",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25847",
"name": "Podkładki pod przedramię Trek Speed Concept Aerobar",
"price": "44.9",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14673",
"name": "Zestaw podkładek pod przedramię Bontrager Aero",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25840",
"name": "Bontrager Race X Lite IsoZone Handlebar Pad Kit",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25841",
"name": "Zestaw podkładki żelowej kierownicy Bontrager IsoZone",
"price": "94.9",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14672",
"name": "Podkładki pod przedramię Bontrager Aero",
"price": "94.9",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}