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