if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36036",
"name": "Zapatos de ciclismo Trek RSL Knit Road",
"price": "12299.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Zapatos de ciclismo Trek RSL Road",
"price": "11999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34133",
"name": "Zapatos de ciclismo Trek Velocis Road",
"price": "7299.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45274",
"name": "Zapatos de Ciclismo de Ruta Trek Circuit",
"price": "4399.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34129",
"name": "Zapatos para Montaña Bontrager Evoke",
"price": "3499.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34130",
"name": "Zapatos para Montaña Bontrager Foray",
"price": "3499.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31572",
"name": "Zapato Multideporte Bontrager SSR para Damas",
"price": "3299.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34132",
"name": "Zapato de Ciclismo de Ruta Bontrager Circuit",
"price": "3229.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33678",
"name": "Zapato de Ciclismo de Ruta Bontrager Solstice",
"price": "2499.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}