if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "34132",
"name": "Rowerowy but szosowy Bontrager Circuit",
"price": "524.3",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25364",
"name": "Kask rowerowy Bontrager Specter WaveCel",
"price": "489.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31573",
"name": "Buty na rower stacjonarny Bontrager Cadence",
"price": "489.3",
"brand": "Bontrager",
"category": "Indoor cycling shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31572",
"name": "Damskie buty rowerowe Bontrager SSR Multisport",
"price": "419.3",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "Buty MTB Bontrager Foray",
"price": "629.3",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}