if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "46707",
"name": "Madone SLR 9 Gen 8",
"price": "234999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "289999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "186999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46688",
"name": "Madone SLR 7 AXS Gen 8",
"price": "209999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "99999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46218",
"name": "Madone SL 5 Gen 8",
"price": "66999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46766",
"name": "Cuadro de la Madone SL Gen 8",
"price": "67999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_purpledark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "39999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33140",
"name": "Émonda SLR 9 AXS",
"price": "292999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35715",
"name": "Émonda SLR 9",
"price": "239999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "182999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35487",
"name": "Émonda SLR 7",
"price": "176999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37314",
"name": "Émonda SLR 6",
"price": "163999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37299",
"name": "Cuadro Émonda ALR Disc",
"price": "27299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "33139",
"name": "Émonda SLR 7 AXS",
"price": "224999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "48999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 16
}
]
}
});
} else {
console.log("dataLayer");
}