if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40322",
"name": "Electra Fern Gepäckträgertasche",
"price": "116.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40320",
"name": "Electra Fern Cylinder Handlebar Bag",
"price": "39.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40317",
"name": "Electra Fern Telefontasche",
"price": "39.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40316",
"name": "Electra Fern Satteltasche",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}