if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "47877",
"name": "Session 9 X01",
"price": "35699.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37056",
"name": "Session 8",
"price": "26799.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "30599.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37959",
"name": "Rama z damperem Session AL",
"price": "19199.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30495",
"name": "Rama z damperem Ticket S",
"price": "10399.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29757",
"name": "Rama Ticket DJ",
"price": "5499.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37057",
"name": "Session 9",
"price": "33299.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30283",
"name": "Rama z damperem Session C 29",
"price": "23399.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22049",
"name": "Rama z damperem Session C 27.5",
"price": "16599.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}