if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41217",
"name": "Marlin 7 Gen 3",
"price": "24999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "16599.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "54999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47223",
"name": "Procaliber 9.5 Gen 3",
"price": "43999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "22499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41618",
"name": "Procaliber 8",
"price": "35999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "33999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "31499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40963",
"name": "Roscoe 6",
"price": "27599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "36299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33258",
"name": "Procaliber 9.5 Gen 2",
"price": "47999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purpledark_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "41099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "20499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}