if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37059",
"name": "Domane SLR 7 Gen 4",
"price": "149999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37420",
"name": "Madone SLR 9 AXS Gen 7",
"price": "256699.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36746",
"name": "Domane SL 6 Gen 4",
"price": "95499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "15299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS Gen 6",
"price": "149999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36978",
"name": "Émonda SL 7 AXS",
"price": "134999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS",
"price": "125999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 Gen 6",
"price": "101999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35303",
"name": "Domane SL 6 Gen 3",
"price": "79999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36149",
"name": "Domane SL 5 Gen 4",
"price": "67499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33078",
"name": "Émonda ALR 4",
"price": "31499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}