if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36036",
"name": "Zapatos de ciclismo Trek RSL Knit Road",
"price": "10999.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35040",
"name": "Zapatos de ciclismo Trek RSL Road",
"price": "9999.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": "25000",
"name": "Zapatos de ciclismo de ruta Bontrager XXX",
"price": "6749.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22483",
"name": "Zapato de Ciclismo de Ruta Bontrager Velocis",
"price": "4949.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "31571",
"name": "Zapato Multideporte Bontrager SSR",
"price": "3299.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"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");
}