if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41131",
"name": "247 Deluxe (Einstieg: hoch)",
"price": "1699.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41132",
"name": "247 Deluxe (Einstieg: mittel)",
"price": "1699.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "brown",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33553",
"name": "247 (Einstieg: hoch)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "green",
"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
}
]
}
});
} else {
console.log("dataLayer");
}