if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41150",
"name": "Licras para Bici de Montaña Trek Rhythm para Damas",
"price": "2499.0",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22798",
"name": "Shorts de Ciclismo de montaña Bontrager Evoke para Damas",
"price": "830.0",
"brand": "Bontrager",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22800",
"name": "Licras Cortas de Ciclismo Bontrager Kalia para Damas",
"price": "495.0",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}