if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36025",
"name": "Trek Solstice Mips Bike Helmet",
"price": "74.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "83.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "164.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25361",
"name": "Bontrager Blaze WaveCel Mountain Bike Helmet",
"price": "188.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "101.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25370",
"name": "Bontrager Charge WaveCel Commuter Helmet",
"price": "144.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30467",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "175.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}