if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36060",
"name": "Trek Circuit Women's Thermal Unpadded Cycling Tight",
"price": "47.99",
"brand": "Trek",
"category": "Women's cycling tights & pants",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "29.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37367",
"name": "Trek Circuit Women's Thermal Long Sleeve Cycling Jersey",
"price": "79.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36069",
"name": "Trek Circuit Women's LTD Long Sleeve Cycling Jersey",
"price": "69.99",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greendark_teal",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "34.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "30283",
"name": "Session C 29 Frameset",
"price": "4649.0",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}