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": "35041",
"name": "Zapatos para Montaña Trek RSL",
"price": "12599.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45272",
"name": "Zapatos para Montaña Trek Foray",
"price": "4699.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}