if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40545",
"name": "018 (Alivio) (Einstieg: hoch)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33221",
"name": "018 (Einstieg: hoch)",
"price": "699.0",
"brand": "Diamant",
"category": "Diamant Bikes ohne Motor",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}