if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "33073",
"name": "Fuel EX 5 Gen 5",
"price": "40599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_orangelight",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"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": 3
}
,
{
"id": "41573",
"name": "Fuel EX 9.8 XT Gen 6",
"price": "172999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}