if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47877",
"name": "Session 9 X01",
"price": "7129.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37056",
"name": "Session 8",
"price": "5339.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "5699.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37959",
"name": "Quadro Session AL",
"price": "3699.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30495",
"name": "Quadro Ticket S",
"price": "1999.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29757",
"name": "Quadro Ticket DJ",
"price": "1049.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34625",
"name": "Session 9 X01",
"price": "6319.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37057",
"name": "Session 9",
"price": "5699.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30283",
"name": "Quadro Session C 29",
"price": "4009.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "22049",
"name": "Quadro Session C 27.5",
"price": "2849.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}