if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "35019",
"name": "Kierownica/mostek MTB Bontrager RSL",
"price": "2199.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "2650.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44564",
"name": "Kierownica ze wspornikiem Bontrager Aeolus RSL VR-C",
"price": "3499.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41756",
"name": "Trek Madone SLR Gen 7 Barstem",
"price": "3200.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42042",
"name": "Trek 2023 Madone SLR Gen 7 Integrated Barstem Bearing Top Cap",
"price": "280.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34815",
"name": "Trek Aeolus BarStem Routing Cover",
"price": "180.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}