if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "33553",
"name": "247 (Einstieg: hoch)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41131",
"name": "247 Deluxe (Einstieg: hoch)",
"price": "1699.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41132",
"name": "247 Deluxe (Einstieg: mittel)",
"price": "1699.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "brown",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33554",
"name": "247 (Einstieg: mittel)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33556",
"name": "885 (Einstieg: mittel)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}