if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "33101",
"name": "Rahmenset Domane SLR Disc Gen 3",
"price": "3999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24014",
"name": "Émonda SL Rahmenset",
"price": "2799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35073",
"name": "Rahmenset Domane SL Disc Gen 3",
"price": "2749.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "28712",
"name": "Rahmenset Domane SL Disc Gen 3",
"price": "2699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23644",
"name": "Rahmenset Émonda ALR Disc",
"price": "1499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}