if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "25343",
"name": "Buty MTB Bontrager XXX",
"price": "1424.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34130",
"name": "Buty MTB Bontrager Foray",
"price": "629.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34132",
"name": "Rowerowy but szosowy Bontrager Circuit",
"price": "539.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25046",
"name": "Wodoodporne ochraniacze rowerowe na buty Bontrager",
"price": "199.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14775",
"name": "Rowerowy ochraniacz na buty Bontrager S1 Softshell",
"price": "199.0",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"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": 7
}
]
}
});
} else {
console.log("dataLayer");
}