if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36027",
"name": "Casco Solstice para bici de Trek",
"price": "909.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "11866",
"name": "Llanta MTB Bontrager XR2 Team Issue TLR",
"price": "839.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14211",
"name": "Puño de silicón Bontrager XR",
"price": "579.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30466",
"name": "Casco para Bicicleta Bontrager Solstice Mips",
"price": "569.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27134",
"name": "Juego de placas de pedal de contacto MTB Bontrager",
"price": "362.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46755",
"name": "Ánfora Voda Bio de 26oz de Trek",
"price": "335.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "green",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37370",
"name": "Ánfora Trek Voda Flow 21oz",
"price": "311.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "46754",
"name": "Ánfora Voda Bio de 21oz de Trek",
"price": "311.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "green",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "12968",
"name": "Inyector de sellante Bontrager TLR",
"price": "230.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}