if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "31565",
"name": "Bontrager Rally WaveCel Mountain Bike Helmet",
"price": "101.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluelight_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21849",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "95.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30467",
"name": "Bontrager Solstice Mips Bike Helmet",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "31.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45109",
"name": "Trek Blaze WaveCel Mountain Bike Helmet",
"price": "249.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45106",
"name": "Trek Rally WaveCel Mountain Bike Helmet",
"price": "169.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tan_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45104",
"name": "Trek Quantum WaveCel Mountain Bike Helmet",
"price": "119.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white_gold",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36025",
"name": "Trek Solstice Mips Bike Helmet",
"price": "69.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36028",
"name": "Trek Solstice Bike Helmet",
"price": "44.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}