if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40537",
"name": "Ubari (Acera) (Einstieg: tief)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40542",
"name": "Ubari (Acera) (Einstieg: hoch)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33181",
"name": "Ubari (Einstieg: mittel)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33180",
"name": "Ubari (Einstieg: hoch)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33183",
"name": "Ubari Deluxe (Einstieg: tief)",
"price": "749.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greenlight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33182",
"name": "Ubari Deluxe (Einstieg: hoch)",
"price": "749.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}