if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "31577",
"name": "Buty szutrowe Bontrager GR2",
"price": "350.0",
"brand": "Bontrager",
"category": "Cyclocross & gravel bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25000",
"name": "But szosowy Bontrager XXX",
"price": "1329.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22483",
"name": "Rowerowy but szosowy Bontrager Velocis",
"price": "759.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22484",
"name": "Damskie rowerowe buty szosowe Bontrager Velocis",
"price": "759.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22476",
"name": "Wkładki dla osób z wysokim łukiem Bontrager inForm BioDynamic",
"price": "111.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13040",
"name": "Wkładki dla osób z niskim łukiem Bontrager inForm BioDynamic",
"price": "111.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}