if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "12956",
"name": "DT Swiss RWS Thru-axle",
"price": "35.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "44215",
"name": "Rock Shox 2022 Top Fuel 29 185mm x 50mm Deluxe Ultimate Rear Shock",
"price": "600.0",
"brand": "RockShox",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "25883",
"name": "Collier de tige de selle à fixation rapide Bontrager compatible avec cadre en carbone",
"price": "13.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "40250",
"name": "Casque Trek Circuit WaveCel",
"price": "169.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41437",
"name": "Trek 2022 Checkpoint ALR 5 700c Rigid Fork",
"price": "400.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "44213",
"name": "RockShox 2021 Slash 29 Super Deluxe Thru Shaft Ultimate 230 x 62.5 Rear Shock",
"price": "750.0",
"brand": "RockShox",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "22822",
"name": "Casquette de cyclisme Bontrager Classic",
"price": "13.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "pinkdark_black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "47316",
"name": "Gilet de cycliste Rapha Core",
"price": "67.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}