if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "36533",
"name": "Trek Race Quarter Fahrradsocke",
"price": "10.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41127",
"name": "Trek Slash Gen 5 Storage Door Cover - Alloy Models",
"price": "65.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41125",
"name": "Trek Top Fuel 29 Gen 3 Storage Door Cover - Aluminum Models",
"price": "65.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41126",
"name": "Trek Top Fuel 29 Gen 3 Storage Door Cover - Carbon Models",
"price": "65.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "42017",
"name": "Bontrager Speed Concept Blendr Mono-Sockel und Computerhalterung",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "42018",
"name": "Bontrager Speed Concept Blendr Duo-Sockel und Computerhalterung",
"price": "129.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37655",
"name": "Bontrager Speed Concept Blendr Duo Base",
"price": "65.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "48049",
"name": "Trek Aero RSL Road Integrierte Lenker/Vorbau-Einheit",
"price": "749.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "45505",
"name": "Bontrager Line Dropper 31.6mm Actuator Assembly",
"price": "12.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "44369",
"name": "Madone SL Gen 7 Rahmenset",
"price": "4149.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "41599",
"name": "Bontrager RSL Aero Rennradlenker",
"price": "499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "35870",
"name": "Rahmenset Roscoe",
"price": "969.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "28681",
"name": "Rahmenset Full Stache",
"price": "2469.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tealdark_teal",
"list": "PRODUCTSEARCH",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}