if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33174",
"name": "Bontrager MIK Commuter Doppelpacktasche",
"price": "124.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33173",
"name": "Bontrager Commuter Einzelpacktasche",
"price": "89.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33594",
"name": "Bontrager Town Doppelpacktasche",
"price": "79.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40323",
"name": "Electra Heather Charcoal Pannier Bag",
"price": "95.99",
"brand": "Electra",
"category": "Bike bags",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44316",
"name": "Trek Fetch+ 2 Rear Pannier Mounting Kit",
"price": "11.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44317",
"name": "Trek Fetch+ 2 Front Pannier Mounting Kit",
"price": "7.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}