if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "23365",
"name": "Zestaw pancerzy i linek do przerzutek Bontrager Elite",
"price": "130.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24736",
"name": "Zestaw pancerzy i linek do hamulców Bontrager Elite",
"price": "130.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23366",
"name": "Zestaw pancerzy i linek do przerzutek Bontrager Comp",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24737",
"name": "Zestaw pancerzy i linek do hamulców Bontrager Comp",
"price": "110.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23277",
"name": "Zestaw pancerzy i linek do przerzutek Bontrager Pro",
"price": "170.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24735",
"name": "Zestaw pancerzy i linek do hamulców Bontrager Pro",
"price": "170.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42048",
"name": "Trek Domane+ SLR Seat Tube Cable and Canbus Housing",
"price": "49.9",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24734",
"name": "Zestaw pancerzy i linek do hamulców Bontrager XXX",
"price": "320.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "23364",
"name": "Zestaw pancerzy i linek do przerzutek Bontrager XXX",
"price": "320.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "23363",
"name": "Zestaw pancerzy i linek do przerzutek Bontrager",
"price": "17.4",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "24733",
"name": "Zestaw pancerzy i linek do hamulca Bontrager",
"price": "17.4",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}