if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36015",
"name": "Pata de Cabra Ajustable de Montura Trasera de Bontrager",
"price": "549.0",
"brand": "Bontrager",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35809",
"name": "Juego de pedales planos Bontrager Line Comp",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"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": 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": "24464",
"name": "Alforja Bontrager City Shopper",
"price": "2379.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27225",
"name": "Portabultos Bontrager BackRack Disc MIK",
"price": "1199.0",
"brand": "Bontrager",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47140",
"name": "Porta Ánfora Reciclado Elite Trek",
"price": "299.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}