if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "44752",
"name": "Opona MTB Bontrager Vallnord RSL XR TLR",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44486",
"name": "Opona MTB Bontrager Sainte-Anne RSL XR TLR",
"price": "259.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44489",
"name": "Opona MTB Bontrager Gunnison Pro XR TLR",
"price": "239.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44575",
"name": "Opona MTB Bontrager Sainte-Anne Pro XR TLR",
"price": "219.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34496",
"name": "Opona MTB Bontrager XR5 Team Issue TLR",
"price": "254.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "13585",
"name": "Opona górska Bontrager XR4 Team Issue TLR",
"price": "203.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "27917",
"name": "Opona MTB Bontrager XR3 Team Issue TLR",
"price": "203.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34495",
"name": "Opona MTB Bontrager XR1 Team Issue TLR",
"price": "203.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}