if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "34133",
"name": "Zapatillas de carretera Trek Velocis",
"price": "199.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "48435",
"name": "Zapatilla de ciclismo Trek Velocis Carretera",
"price": "249.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "37096",
"name": "Guantes de ciclismo Trek Velocis Dual Foam Unisex",
"price": "39.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34589",
"name": "Casco Trek Velocis Mips Carretera",
"price": "249.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "32738",
"name": "Culote de ciclismo con tirantes Trek Velocis",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "32739",
"name": "Culote de ciclismo con tirantes Trek Velocis Mujer",
"price": "79.99",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "44113",
"name": "Trek Velocis Mips Helmet Fit Pad",
"price": "34.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "24.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "48648",
"name": "Trek Lidl-Trek Helmet Decal Set",
"price": "9.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "36268",
"name": "Precaliber 20 de 7 velocidades ",
"price": "349.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "36846",
"name": "Precaliber 24 de 8 velocidades con suspensión",
"price": "369.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}