if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "22476",
"name": "Suelas de arco alto Bontrager inForm BioDynamics",
"price": "909.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13040",
"name": "Suelas de arco bajo Bontrager inForm BioDynamics",
"price": "909.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35320",
"name": "Calcetines de ciclismo Bontrager Race Quarter",
"price": "199.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}