if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "14110",
"name": "Trek Fuel EX 2017-2019 Aluminum Chainstay",
"price": "474.99",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_blue",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "30970",
"name": "Trek 2020-2021 Rail 29 Carbon Battery Cover",
"price": "139.99",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greendark_black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "31638",
"name": "Bontrager SSR/Superstock/Select 8/9/10-Speed Freehub Body",
"price": "39.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "57134",
"name": "FX 1 Stepover Gen 4",
"price": "889.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "57137",
"name": "FX 1 Midstep Gen 4",
"price": "889.99",
"brand": "Trek",
"category": "Active & fitness bikes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "11255",
"name": "Tapa de mástil de asiento de carbono con color igualado Trek y orejas redondas de 7mm",
"price": "175.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "48103",
"name": "Trek Aero RSL Barstem Headset Spacers",
"price": "9.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "26462",
"name": "Trek Madone SLR Headset Cable Routing Spacer",
"price": "30.99",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "45274",
"name": "Zapatos de Ciclismo de Ruta Trek Circuit",
"price": "259.99",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}