if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44791",
"name": "Opona MTB Bontrager Galbraith RSL SE TLR",
"price": "329.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44588",
"name": "Opona MTB Bontrager Brevard RSL SE TLR",
"price": "329.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45431",
"name": "Opona MTB Bontrager Brevard RSL XT TLR",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44490",
"name": "Opona MTB Bontrager Gunnison RSL XT TLR",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44488",
"name": "Opona MTB Bontrager Montrose RSL XT TLR",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34494",
"name": "Opona MTB Bontrager SE6 Team Issue TLR",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "13586",
"name": "Opona górska Bontrager SE4 Team Issue TLR",
"price": "329.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34493",
"name": "Opona MTB Bontrager SE5 Team Issue TLR",
"price": "297.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}