if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "25365",
"name": "Casco para Bici de Carrera Bontrager XXX WaveCel",
"price": "3749.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14897",
"name": "Casco para Bici de Carrera Bontrager Velocis Mips",
"price": "3429.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 3
}
,
{
"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": 4
}
]
}
});
} else {
console.log("dataLayer");
}