if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36025",
"name": "Trek Solstice Mips Fahrradhelm",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36028",
"name": "Trek Solstice",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30467",
"name": "Bontrager Solstice Mips Fahrradhelm",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30482",
"name": "Bontrager Solstice Fahrradhelm",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33678",
"name": "Bontrager Solstice Rennradschuh",
"price": "79.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34513",
"name": "Bontrager Solstice Women's Gel Fahrradhandschuh",
"price": "23.09",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Fahrradhandschuh",
"price": "23.09",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}