if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "34133",
"name": "Zapatos de ciclismo Trek Velocis Road",
"price": "7299.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25000",
"name": "Zapatos de ciclismo de ruta Bontrager XXX",
"price": "6749.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22483",
"name": "Zapato de Ciclismo de Ruta Bontrager Velocis",
"price": "4949.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22484",
"name": "Zapato de Ciclismo de Ruta Bontrager Velocis para Damas",
"price": "4949.0",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}