if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35905",
"name": "Electra Miami Lifestyle Helm",
"price": "47.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35897",
"name": "Electra Miami Telefontasche",
"price": "39.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35708",
"name": "Electra Miami Elastomer Sattel",
"price": "29.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35899",
"name": "Electra Miami Satteltasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35893",
"name": "Electra Miami Lenkertasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35712",
"name": "Electra Miami Gummigriffe",
"price": "23.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}