if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41133",
"name": "139 (Einstieg: hoch)",
"price": "1499.0",
"brand": "Diamant",
"category": "Special editions",
"variant": "teal_bluelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36859",
"name": "138 (Einstieg: tief)",
"price": "2949.0",
"brand": "Diamant",
"category": "Special editions",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35701",
"name": "137 (Einstieg: hoch)",
"price": "2049.0",
"brand": "Diamant",
"category": "Special editions",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}