if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35295",
"name": "Checkpoint SLR 7 AXS",
"price": "202999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "yellow_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "149999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36978",
"name": "Émonda SL 7 AXS",
"price": "134999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS",
"price": "125999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 Gen 6",
"price": "101999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35303",
"name": "Domane SL 6 Gen 3",
"price": "79999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35169",
"name": "Checkpoint SL 5",
"price": "69999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "67499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33044",
"name": "Cuadro Madone SLR Gen 6",
"price": "96999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}