if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36953",
"name": "Fuel EX 9.8 GX AXS Gen 6",
"price": "114599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36355",
"name": "Fuel EX 9.7 Gen 6",
"price": "72199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "36699.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41327",
"name": "Fuel EX 8 XT Gen 6",
"price": "89999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "63599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47249",
"name": "Fuel EX 9.9 XX AXS T-Type Gen 6",
"price": "267999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47248",
"name": "Fuel EX 9.9 X0 AXS T-Type Gen 6",
"price": "236999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41573",
"name": "Fuel EX 9.8 XT Gen 6",
"price": "172999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41645",
"name": "Fuel EX 9.9 XX AXS T-Type Gen 6",
"price": "267999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}