if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "22165",
"name": "Licras Largas Térmicas de Ejercicio Bontrager Kalia para Damas",
"price": "665.0",
"brand": "Bontrager",
"category": "Cycling tights & pants",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35320",
"name": "Calcetines de ciclismo Bontrager Race Quarter",
"price": "115.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}