if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35857",
"name": "365 (Cadre: moyen)",
"price": "1919.2",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35856",
"name": "365 (Cadre: haut)",
"price": "1919.2",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36721",
"name": "Aurus (Cadre: bas)",
"price": "1919.2",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "29418",
"name": "Zouma Supreme+ GOR",
"price": "6699.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}