if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "34038",
"name": "Trek Commuter Pro RT Flare RT Bike Light Set",
"price": "5199.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41450",
"name": "Juego de Luces Trek Ion 200 RT/Flare RT",
"price": "2999.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37097",
"name": "Guante para Ciclismo Unisex Trek Circuit Twin Gel",
"price": "1249.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22295",
"name": "Guantes de ciclismo Bontrager JFW Winter",
"price": "2699.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32853",
"name": "Multiherramienta Bontrager Pro",
"price": "1579.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41416",
"name": "Cinta para Manubrio Trek EcoTack",
"price": "899.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tealdark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23110",
"name": "Cinta de manubrio de corcho con gel de Bontrager",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23383",
"name": "Enjuague de bici Bontrager",
"price": "354.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}