if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26788",
"name": "Casco para Bici de Montaña Bontrager Blaze WaveCel LTD",
"price": "1998.67",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21848",
"name": "Casco para Bicicleta Bontrager Quantum Mips",
"price": "3099.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "849.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36024",
"name": "Casco para Bici Trek Solstice Mips",
"price": "1849.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}