if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "47148",
"name": "Bolsa Triangular Trek Adventure",
"price": "2199.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41411",
"name": "Multiherramienta Trek Pro BITS",
"price": "2009.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44483",
"name": "Llanta de Grava Bontrager Girona RSL GR TLR",
"price": "1499.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44484",
"name": "Llanta para Grava Bontrager Betasso RSL GX TLR",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "81999.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "red_greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35041",
"name": "Zapatos para Montaña Trek RSL",
"price": "12599.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47358",
"name": "Bolsa de tubo superior Trek Adventure",
"price": "1199.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}