if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32738",
"name": "Salopette corta da ciclismo Trek Velocis",
"price": "99.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "44113",
"name": "Trek Velocis Mips Helmet Fit Pad",
"price": "29.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "22.49",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34133",
"name": "Scarpa per ciclismo su strada Trek Velocis",
"price": "249.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34589",
"name": "Casco per ciclismo su strada Trek Velocis Mips",
"price": "299.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "32739",
"name": "Salopette corta da ciclismo Trek Velocis da donna",
"price": "99.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37096",
"name": "Guanti da ciclismo unisex Trek Velocis Dual Foam",
"price": "39.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "48648",
"name": "Trek Lidl-Trek Helmet Decal Set",
"price": "8.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}