if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40322",
"name": "Sacoche arrière Electra Fern",
"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": "Sacoche de téléphone Electra Fern",
"price": "39.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40316",
"name": "Sacoche de selle Electra Fern",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}