if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41426",
"name": "Émonda ALR 5",
"price": "39999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41513",
"name": "Checkpoint ALR 4",
"price": "38999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "37999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41587",
"name": "Domane AL 2 Gen 4",
"price": "26499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37299",
"name": "Cuadro Émonda ALR Disc",
"price": "27299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "48999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}