if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "34591",
"name": "Casco para Bici de Carrera Bontrager Circuit WaveCel",
"price": "4299.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "2899.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "1899.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36024",
"name": "Casco para Bici Trek Solstice Mips",
"price": "1849.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40249",
"name": "Casco Trek Circuit Wavecel",
"price": "4299.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "2999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21848",
"name": "Casco para Bicicleta Bontrager Quantum Mips",
"price": "3099.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "1159.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}