if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40530",
"name": "365 Deluxe (CUES) (Cadre: haut)",
"price": "2399.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40540",
"name": "365 Deluxe (CUES) (Cadre: moyen)",
"price": "2399.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40533",
"name": "365 (Acera) (Cadre: haut)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40524",
"name": "365 (Acera) (Cadre: moyen)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35858",
"name": "365 Deluxe (Cadre: haut)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35859",
"name": "365 Deluxe (Cadre: moyen)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35857",
"name": "365 (Cadre: moyen)",
"price": "1999.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35856",
"name": "365 (Cadre: haut)",
"price": "1999.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}