if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "47281",
"name": "Slash 9.9 XX AXS Tipo T Gen 6",
"price": "266999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47280",
"name": "Slash 9.9 X0 AXS Tipo T Gen 6",
"price": "239999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47279",
"name": "Slash 9.8 XT Gen 6",
"price": "172999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41668",
"name": "Slash 8 Gen 6",
"price": "94999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41689",
"name": "Slash 9.9 XX AXS Tipo T Gen 6",
"price": "266999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41681",
"name": "Slash 9.9 X0 AXS Tipo T Gen 6",
"price": "239999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41821",
"name": "Slash 9.9 XTR Gen 6",
"price": "211999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41814",
"name": "Slash 9.8 XT Gen 6",
"price": "172999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37060",
"name": "Slash 9.9 XX1 Flight Attendant Gen 5",
"price": "322999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "37065",
"name": "Slash 9.9 XTR Gen 5",
"price": "222999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37058",
"name": "Slash 9.8 GX AXS Gen 5",
"price": "202999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "35068",
"name": "Slash 9.7 Gen 5",
"price": "99999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "bronze",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "36732",
"name": "Slash 9.8 XT Gen 5",
"price": "85499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}