if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40539",
"name": "Rubin Legere (CUES) (Einstieg: mittel)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40538",
"name": "Rubin Legere (CUES) (Einstieg: hoch)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40525",
"name": "Rubin (CUES) (Einstieg: mittel)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40541",
"name": "Rubin (CUES) (Einstieg: hoch)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35106",
"name": "Rubin Super Legere (Einstieg: hoch)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33220",
"name": "Rubin Legere (Einstieg: mittel)",
"price": "1499.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33219",
"name": "Rubin Legere (Einstieg: hoch)",
"price": "1499.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36915",
"name": "Rubin Legere (Einstieg: mittel)",
"price": "1249.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36912",
"name": "Rubin (Einstieg: mittel)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36910",
"name": "Rubin (Einstieg: hoch)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}