if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "45109",
"name": "Trek Blaze WaveCel mountainbikehelm",
"price": "249.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "grey_bluedark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "25361",
"name": "Bontrager Blaze WaveCel mountainbikehelm",
"price": "188.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "28844",
"name": "Bontrager Blaze WaveCel helmvizier",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "28850",
"name": "Bontrager Blaze WaveCel helmvoering",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "28848",
"name": "Bontrager Blaze WaveCel NoSweat helmvoering",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "28852",
"name": "Trek/Bontrager Blendr-bevestiging voor WaveCel helmen",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}