if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1299.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40508",
"name": "Dual Sport 2 Gen 5 Equipped",
"price": "1039.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40511",
"name": "Dual Sport 2 Gen 5 Stagger",
"price": "1039.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41013",
"name": "Wahoo 24 Trail",
"price": "839.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "green",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41014",
"name": "Wahoo 20 Trail",
"price": "829.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "749.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40929",
"name": "Wahoo 26 Path",
"price": "619.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "42272",
"name": "Kit cadre Slash C 6e gén.",
"price": "5199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "44314",
"name": "Kit cadre Domane RSL 4e gén.",
"price": "4999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44369",
"name": "Kit cadre Madone SL 7e gén.",
"price": "4149.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "44441",
"name": "Kit cadre Supercaliber SLR 2e gén.",
"price": "4149.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "42271",
"name": "Kit cadre Slash AL 6e gén.",
"price": "3399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "42273",
"name": "Kit cadre Top Fuel C",
"price": "3250.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35757",
"name": "Speed Concept SLR 9",
"price": "14499.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "13299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "41853",
"name": "Rail 9.9 CXR 4e gén.",
"price": "12999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35756",
"name": "Speed Concept SLR 9 AXS",
"price": "12099.0",
"brand": "Trek",
"category": "Triathlon bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35715",
"name": "Émonda SLR 9",
"price": "11999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37358",
"name": "Domane SLR 9 AXS Gen 4",
"price": "11599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35296",
"name": "Checkpoint SLR 9 AXS",
"price": "10599.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "10599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "41899",
"name": "Domane SLR 7 AXS Gen 4",
"price": "10499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}