if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47877",
"name": "Session 9 X01",
"price": "8199.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37056",
"name": "Session 8",
"price": "6149.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "6549.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37959",
"name": "Kit telaio Session AL",
"price": "3789.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37057",
"name": "Session 9",
"price": "6549.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30283",
"name": "Kit telaio Session C 29",
"price": "4649.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22049",
"name": "Kit telaio Session C 27.5",
"price": "3269.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}