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": "40962",
"name": "Marlin 6 Gen 3",
"price": "22499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35116",
"name": "Roscoe 7",
"price": "31499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40963",
"name": "Roscoe 6",
"price": "27599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35117",
"name": "Roscoe 8",
"price": "36299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "47999.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purpledark_black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "41099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "20499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "29759",
"name": "Marlin 4 Gen 2",
"price": "11499.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}