if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35809",
"name": "Bontrager Line Comp Plattformpedalset",
"price": "25.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36733",
"name": "Hyena Range Extender-Akku",
"price": "500.0",
"brand": "Hyena",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "440.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41812",
"name": "Trek BellBeats Digitale Fahrradklingel mit Lautsprecher",
"price": "129.0",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47140",
"name": "Trek Elite Recycled Flaschenhalter",
"price": "14.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25255",
"name": "Bontrager Standard-Fahrradschlauch mit Schrader-Ventil",
"price": "7.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}