if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "35041",
"name": "Buty MTB Trek RSL",
"price": "1799.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45271",
"name": "Buty MTB Trek Cambion",
"price": "1199.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45272",
"name": "Buty MTB Trek Foray",
"price": "749.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25343",
"name": "Buty MTB Bontrager XXX",
"price": "1424.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24883",
"name": "Buty MTB Bontrager Rally",
"price": "669.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34130",
"name": "Buty MTB Bontrager Foray",
"price": "629.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34790",
"name": "Buty MTB Bontrager Flatline",
"price": "539.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34129",
"name": "Buty MTB Bontrager Evoke",
"price": "539.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34789",
"name": "Buty MTB Bontrager Quantum",
"price": "449.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}