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 zadel",
"price": "39.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35896",
"name": "Electra Ziggy telefoontasje",
"price": "31.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35892",
"name": "Electra Ziggy stuurtas",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35898",
"name": "Electra Ziggy zadeltas",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "brown_blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35711",
"name": "Electra Ziggy rubberen handvatten",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "brown",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}