if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41607",
"name": "Domane AL 4 Gen 4",
"price": "39999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "18999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "49999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36100",
"name": "Émonda ALR 5",
"price": "41999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33078",
"name": "Émonda ALR 4",
"price": "41999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33082",
"name": "Domane AL 3 Gen 3",
"price": "29999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33083",
"name": "Domane AL 2 Gen 3",
"price": "22999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}