if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "47286",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "344999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47285",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "319999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36742",
"name": "Domane+ SLR 9",
"price": "269999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41571",
"name": "Fuel EXe 9.8",
"price": "242999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41482",
"name": "Domane+ SLR 7 AXS",
"price": "234999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36711",
"name": "Domane+ SLR 7",
"price": "224999.0",
"brand": "Trek",
"category": "Electric road bikes",
"variant": "white_gold",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "28299",
"name": "Verve+ 2 Gen 2",
"price": "43499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28300",
"name": "Verve+ 2 Lowstep Gen 2",
"price": "43499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36998",
"name": "Powerfly FS 4 Gen 3",
"price": "81749.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35032",
"name": "Rail 5 Gen 2",
"price": "65299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_teal",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36365",
"name": "Fuel EXe 9.7",
"price": "118899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36374",
"name": "Fuel EXe 9.5",
"price": "107299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}