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": "34036",
"name": "Trek Commuter Comp R Flare R City Bike Light Set",
"price": "2599.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23711",
"name": "Juego de luces Bontrager Ion Pro RT/Flare RT",
"price": "4799.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "41452",
"name": "Juego de Luces Ion Pro RT/Flare RT de Trek",
"price": "4799.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41443",
"name": "Juego de Luces para Bicis Urbanas Trek Ion 100 R/Flare R",
"price": "1699.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}