if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37357",
"name": "Domane SLR 9 Gen 4",
"price": "228999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37059",
"name": "Domane SLR 7 Gen 4",
"price": "149999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37344",
"name": "Domane SLR 6 Gen 4",
"price": "159999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "39999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}