if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36949",
"name": "Casco para Ciclismo de Montaña Rally WaveCel de Trek",
"price": "3599.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black_greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36024",
"name": "Casco para Bici Trek Solstice Mips",
"price": "1849.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25359",
"name": "Casco para Bici de Montaña Bontrager Blaze WaveCel",
"price": "4999.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "bluedark_yellow",
"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": "31564",
"name": "Casco para Bici de Montaña Bontrager Rally WaveCel",
"price": "2599.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellow_black",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "849.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}