if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35904",
"name": "Electra Ziggy Lifestyle Helm",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "tan_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35707",
"name": "Electra Ziggy Elastomer-Sattel",
"price": "39.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35896",
"name": "Electra Ziggy Telefontasche",
"price": "31.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35892",
"name": "Electra Ziggy Lenkertasche",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35898",
"name": "Electra Ziggy Satteltasche",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35711",
"name": "Electra Ziggy Gummigriffe",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}