if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36035",
"name": "Casco de Bici Juvenil Trek Solstice MIPS",
"price": "1849.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34609",
"name": "Casco de Bici para Niños Trek Solstice Mips",
"price": "1849.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "purplelight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42200",
"name": "Casco Trek Tyro para Niño Ciclista",
"price": "1459.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36952",
"name": "Casco Trek para Ciclismo Starvos WaveCel",
"price": "2999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40370",
"name": "Casco Trek de Bici Little Dipper",
"price": "1899.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31567",
"name": "Casco para Bicicleta Bontrager Starvos WaveCel",
"price": "1729.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42203",
"name": "Casco Juvenil para Bicis Trek Tyro",
"price": "1459.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30485",
"name": "Casco para Bicicleta Bontrager Tyro para Niños",
"price": "1099.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "31204",
"name": "Casco para Bicicleta Bontrager Tyro Juvenil",
"price": "949.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "purple_bluelight",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}