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
}
]
}
});
} else {
console.log("dataLayer");
}