if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35955",
"name": "Electra Miami Cruiser Go!/Townie Go! 7D Fender Set",
"price": "30.79",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34244",
"name": "Electra Unicorn Lifestyle-Fahrradhelm",
"price": "27.99",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34245",
"name": "Electra EBC 3000 Lifestyle-Fahrradhelm",
"price": "14.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35712",
"name": "Electra Miami Gummigriffe",
"price": "10.99",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}