if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "24758",
"name": "Bontrager Eyeleted Quick Release Seatpost Clamp",
"price": "202.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "26986",
"name": "Sta-Tru 700c QR Double-wall Alloy Road Wheel",
"price": "2609.0",
"brand": "Sta-Tru",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "33881",
"name": "Cuerpo de rueda libre Bontrager Race de 11 velocidades",
"price": "1095.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36462",
"name": "Unior 16-notch Bottom Bracket Socket",
"price": "1045.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "28498",
"name": "Llanta Bontrager E6 Hard-Case Lite E-bike",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_reflective",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "32927",
"name": "VP Components A42E 1.125˝ Zero Stack Headset",
"price": "232.0",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}