if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "21486",
"name": "Soporte Bontrager Flare para tija de sillín de la Madone 9",
"price": "11.99",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "42042",
"name": "Trek 2023 Madone SLR Gen 7 Integrated Barstem Bearing Top Cap",
"price": "6.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "32593",
"name": "Tornillo de montaje Trek Blendr para sistema de potencia/manillar",
"price": "2.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41599",
"name": "Manillar Bontrager RSL Aero Carretera",
"price": "449.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "46175",
"name": "Bidón y portabidón Trek RSL Aero",
"price": "99.99",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}