if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "64879",
"name": "Madone SLR 9 AXS 1x Gen 8",
"price": "21799.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "46766",
"name": "Cuadro de la Madone SL Gen 8",
"price": "4299.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "42032",
"name": "Trek 2023 Madone SLR Gen 7 Seatposts",
"price": "399.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "grey_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "47830",
"name": "Poste de asiento Gen 8 Trek Madone",
"price": "399.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "40554",
"name": "Hyena Gen 2 Rear Light Extension Wire",
"price": "11.99",
"brand": "Hyena",
"category": "E-bike accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "37098",
"name": "Guantes Trek Unisex para Ciclismo de Gel que Cubre Todos los Dedos Circuit Twin",
"price": "50.38",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "48048",
"name": "Trek Madone SLR Gen 8 700c Rigid Fork",
"price": "799.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "46853",
"name": "Trek 2023 Madone SLR Gen 7 V2 Seatpost",
"price": "399.99",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "41883",
"name": "FSA eMTB Bosch Gen 4 Compatible 36 Tooth Chainring",
"price": "49.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "36266",
"name": "Precaliber 16",
"price": "429.99",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "01743",
"name": "Wald 252 16-20˝ Training Wheels Kit",
"price": "74.99",
"brand": "Wald",
"category": "Bike training wheels",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "30767",
"name": "Trek Precaliber 16 Saddle with Integrated Seatpost",
"price": "34.99",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "48271",
"name": "FSA 1.5˝ Headset Bearing",
"price": "18.99",
"brand": "FSA",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "31750",
"name": "Perno de cabezal avellanado de Trek Road M3 x 0.5 x 7mm",
"price": "4.19",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "31751",
"name": "Perno de cabezal avellanado de Trek Road M3 x 0.5 x 12mm",
"price": "4.19",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}