if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "1149.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "649.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48622",
"name": "Powerfly+ 8 Gen 5",
"price": "4999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_bronze",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47245",
"name": "Procaliber 9.7 AXS Gen 3",
"price": "4499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48621",
"name": "Powerfly+ 6 Gen 5",
"price": "3999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "3599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48619",
"name": "Powerfly+ 4 Gen 5",
"price": "3299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_greenvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "2499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "1999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47829",
"name": "Rahmenset Procaliber C Gen 3",
"price": "1499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "1299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "teal_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "899.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41707",
"name": "Marlin+ 8",
"price": "2999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "41010",
"name": "Marlin+ 6",
"price": "2599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "1999.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "1499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "1299.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35920",
"name": "Rahmenset 1120",
"price": "1249.0",
"brand": "Trek",
"category": "1120",
"variant": "bluedark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37982",
"name": "Marlin Rahmenset Gen 3",
"price": "749.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "1649.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "37044",
"name": "Powerfly 5 Gen 4",
"price": "4499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "4399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "41036",
"name": "Powerfly 4 625Wh Gen 4",
"price": "4149.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greenlight_greydark",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}