if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35713",
"name": "Electra Retro Stripe Gummigriffe",
"price": "14.5",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35933",
"name": "Electra Retro Stripe Forward Drehklingel",
"price": "7.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "black_bronze",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}