if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "34244",
"name": "Casque Electra Unicorn Lifestyle",
"price": "33.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33698",
"name": "Casque Electra Lifestyle Lux uni",
"price": "27.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34245",
"name": "Casque Electra EBC 3000 Lifestyle",
"price": "16.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22829",
"name": "Visière pour casque Electra",
"price": "9.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33561",
"name": "Casque Electra Lifestyle",
"price": "16.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25382",
"name": "Bontrager-Electra Fidlock SNAP Helmet Buckle",
"price": "10.0",
"brand": "Bontrager-Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}