if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40488",
"name": "Dual Sport+ 2 Mid-step LT",
"price": "2199.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40487",
"name": "Dual Sport+ 2 LT",
"price": "2199.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40826",
"name": "Dual Sport 3 Gen 5",
"price": "1049.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40511",
"name": "Dual Sport 2 Mid-step Gen 5",
"price": "949.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40508",
"name": "Dual Sport 2 Equipped Gen 5",
"price": "949.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40824",
"name": "Dual Sport 2 Gen 5",
"price": "799.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40823",
"name": "Dual Sport 1 Gen 5",
"price": "699.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "48616",
"name": "Powerfly+ FS 4 Equipped Gen 4",
"price": "4799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "48620",
"name": "Powerfly+ 4 Equipped Gen 5",
"price": "3599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "2999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "2299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40502",
"name": "Dual Sport 3 Equipped Gen 5",
"price": "1199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40503",
"name": "Dual Sport 3 Equipped Mid-step Gen 5",
"price": "1199.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35853",
"name": "Dual Sport+ 2 Stagger",
"price": "1699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40672",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "5699.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "teal_greendark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "41704",
"name": "Powerfly Sport 5 Equipped Gen 4",
"price": "4399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "3199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "2549.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35785",
"name": "FX Sport 4",
"price": "2049.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "white",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "1799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "35271",
"name": "Powerfly FS 9 Equipped Gen 2",
"price": "6319.2",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37008",
"name": "Powerfly FS 9 Equipped Gen 3",
"price": "6199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37046",
"name": "Powerfly Sport 7 Equipped Gen 4",
"price": "5199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "37007",
"name": "Powerfly FS 4 Equipped Gen 3",
"price": "5199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}