if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "23276",
"name": "Adaptateur Insta-Mount Bontrager",
"price": "4.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44796",
"name": "Station de charge Trek CHRGtime",
"price": "109.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11323",
"name": "Capteur numérique combiné Bontrager Interchange",
"price": "49.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12319",
"name": "Capteur numérique Bontrager DuoTrap S",
"price": "49.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}