if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36024",
"name": "Casco para Bici Trek Solstice Mips",
"price": "1849.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34588",
"name": "Casco Velocis para Bici de Carrera de Trek con Protección Mips",
"price": "6999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37123",
"name": "Casco Ballista para Bici de Carrera con Mips de Trek",
"price": "5599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "21848",
"name": "Casco para Bicicleta Bontrager Quantum Mips",
"price": "3099.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "1899.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14897",
"name": "Casco para Bici de Carrera Bontrager Velocis Mips",
"price": "5299.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}