if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "47225",
"name": "Bolsa de herramientas Trek BITS",
"price": "799.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47226",
"name": "Bolsa de tubos Trek BITS",
"price": "619.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "313.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "3399.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "1689.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "21794",
"name": "Bolsa Bontrager Pro Flat",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26634",
"name": "Bolsa de Almacenamiento Interno para el Cuadro Bontrager BITS",
"price": "619.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22453",
"name": "Bontrager 18oz Storage Bottle",
"price": "199.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black_white",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}