if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "47140",
"name": "Porte-bidon recyclé Trek Elite",
"price": "15.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40635",
"name": "Trek Range Boost Mounting Kit",
"price": "510.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33174",
"name": "Sacoche double MIK Bontrager Commuter",
"price": "139.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41812",
"name": "Sonnette numérique et haut-parleur Trek BellBeats",
"price": "129.0",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33172",
"name": "sacoche arrière MIK Commuter",
"price": "109.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24465",
"name": "Sacoche arrière Bontrager City",
"price": "101.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33173",
"name": "Sacoche Bontrager Commuter unique",
"price": "99.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33594",
"name": "Sacoche double Bontrager Town",
"price": "99.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22373",
"name": "Multi-outil Bontrager Comp",
"price": "19.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}