if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "11866",
"name": "Llanta MTB Bontrager XR2 Team Issue TLR",
"price": "839.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12956",
"name": "DT Swiss RWS Thru-axle",
"price": "165.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26590",
"name": "Trek Madone SLR Painted Headset Cover",
"price": "921.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30999",
"name": "Bontrager Wheelsystem Replacement Aeolus XXX 6 Decals",
"price": "529.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "green",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "09909",
"name": "Bontrager Wheelsystem Replacement Aeolus XXX 2 Decals",
"price": "265.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white_red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31426",
"name": "Corbata Bontrager TLR",
"price": "17.0",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}