if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41123",
"name": "Nhoma Gen 2",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40520",
"name": "Villiger (CUES) (Einstieg: hoch)",
"price": "1599.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35699",
"name": "Villiger (Einstieg: hoch)",
"price": "1299.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}