if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "45272",
"name": "Zapatos para Montaña Trek Foray",
"price": "269.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36027",
"name": "Casco Solstice para bici de Trek",
"price": "78.99",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37098",
"name": "Guantes Trek Unisex para Ciclismo de Gel que Cubre Todos los Dedos Circuit Twin",
"price": "30.23",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35041",
"name": "Zapatos para Montaña Trek RSL",
"price": "359.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24883",
"name": "Zapatos para montaña Bontrager Rally",
"price": "199.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41149",
"name": "Licras para Bici de Montaña Trek Rhythm",
"price": "59.99",
"brand": "Trek",
"category": "Mountain bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37106",
"name": "Guante Trek Evoke Unisex para Bici de Montaña",
"price": "38.99",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34129",
"name": "Zapatos para Montaña Bontrager Evoke",
"price": "116.02",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_orangevisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30483",
"name": "Casco para Bicicleta Bontrager Solstice",
"price": "43.44",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}