if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "32746",
"name": "Licras Trek Solstice",
"price": "1459.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32747",
"name": "Licras para damas Trek Solstice",
"price": "1459.0",
"brand": "Trek",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37106",
"name": "Guante Trek Evoke Unisex para Bici de Montaña",
"price": "969.0",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41416",
"name": "Cinta para Manubrio Trek EcoTack",
"price": "899.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tealdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37110",
"name": "Guante Trek Evoke Unisex para Bici de Montaña Juvenil",
"price": "699.0",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37781",
"name": "Bontrager XT3 Comp MTB Tire",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44780",
"name": "Ánfora Trek Voda 34oz",
"price": "599.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36780",
"name": "Pata de cabra de soporte trasero integrado ajustable Bontrager",
"price": "549.0",
"brand": "Bontrager",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}