if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "46175",
"name": "Ánfora Aero y Porta Ánfora Aerodinámicos RSL Trek",
"price": "2699.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37985",
"name": "Llanta Bontrager Aeolus RSL TLR Road",
"price": "1999.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48109",
"name": "Trek BackRack Deluxe MIK Studs Rear Rack",
"price": "1699.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46168",
"name": "Porta Ánfora Bat Cage de Trek",
"price": "309.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "42999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35040",
"name": "Zapatos de ciclismo Trek RSL Road",
"price": "11999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48435",
"name": "Zapatos de ciclismo Trek Velocis Road",
"price": "7699.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45274",
"name": "Zapatos de Ciclismo de Ruta Trek Circuit",
"price": "4399.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41450",
"name": "Juego de Luces Trek Ion 200 RT/Flare RT",
"price": "2999.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}