if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "14462",
"name": "Electra Lifestyle Lux Tiger Shark Bike Helmet",
"price": "71.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey_green",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14461",
"name": "Electra Lifestyle Lux Straight 8 Bike Helmet",
"price": "71.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14127",
"name": "Electra Lifestyle Lux Soft Serve Graphic Helmet",
"price": "40.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white_teal",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}