if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35683",
"name": "Rahmenset Slash C Gen 5",
"price": "4999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35648",
"name": "Top Fuel C Gen 3 Rahmenset",
"price": "4849.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33072",
"name": "Rahmenset Slash C Gen 5",
"price": "4599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30283",
"name": "Rahmenset Session C 29",
"price": "4499.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40626",
"name": "Rahmenset Fuel EX C",
"price": "4099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33359",
"name": "Rahmenset Fuel EX C Gen 5",
"price": "4049.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "22049",
"name": "Rahmenset Session C 27.5",
"price": "3199.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30181",
"name": "Rahmenset Procaliber SL Gen 1",
"price": "2749.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}