if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37292",
"name": "Plantillas de Ciclismo Trek BioDynamic de Empeine Bajo",
"price": "1139.0",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37294",
"name": "Plantillas de Ciclismo Trek BioDynamic de Empeine Alto",
"price": "1139.0",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37293",
"name": "Plantillas de Ciclismo Trek BioDynamic de Empeine Medio",
"price": "1139.0",
"brand": "Trek",
"category": "Cycling shoe parts & insoles",
"variant": "yellow",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22476",
"name": "Suelas de arco alto Bontrager inForm BioDynamics",
"price": "1139.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "13040",
"name": "Suelas de arco bajo Bontrager inForm BioDynamics",
"price": "1139.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}