if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35905",
"name": "Electra Miami Lifestyle fietshelm",
"price": "39.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35897",
"name": "Electra Miami telefoontasje",
"price": "31.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35708",
"name": "Electra Miami elastomeer-zadel",
"price": "25.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35893",
"name": "Electra Miami stuurtas",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35899",
"name": "Electra Miami zadeltas",
"price": "23.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35712",
"name": "Electra Miami rubber handvatten",
"price": "19.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}