if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "DKK",
"impressions": [
{
"id": "34133",
"name": "Trek Velocis-landevejscykelsko",
"price": "1999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "32738",
"name": "Trek Velocis cykel-bibshorts",
"price": "799.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34589",
"name": "Trek Velocis Mips-hjelm til landevejscykling",
"price": "2399.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "32739",
"name": "Trek Velocis cykel-bibshorts til kvinder",
"price": "799.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37096",
"name": "Trek Velocis Dual Foam-cykelhandske unisex",
"price": "329.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "44113",
"name": "Trek Velocis Mips Helmet Fit Pad",
"price": "239.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "159.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "48648",
"name": "Trek Lidl-Trek Helmet Decal Set",
"price": "65.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}