if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47225",
"name": "Trek BITS Werkzeugtasche",
"price": "22.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47226",
"name": "Trek BITS Schlauchtasche",
"price": "17.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "14.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "119.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "59.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21794",
"name": "Bontrager Pro Flat Pack",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}