if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "35041",
"name": "Zapatos para Montaña Trek RSL",
"price": "12599.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "45272",
"name": "Zapatos para Montaña Trek Foray",
"price": "4699.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24883",
"name": "Zapatos para montaña Bontrager Rally",
"price": "4119.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34129",
"name": "Zapatos para Montaña Bontrager Evoke",
"price": "3499.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34130",
"name": "Zapatos para Montaña Bontrager Foray",
"price": "3499.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34789",
"name": "Zapatos para montaña Bontrager Quantum",
"price": "2850.0",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}