if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "40916",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "731.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47338",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "731.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "36462",
"name": "Unior 16-notch Bottom Bracket Socket",
"price": "1045.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "11866",
"name": "Llanta MTB Bontrager XR2 Team Issue TLR",
"price": "839.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"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": "24044",
"name": "Park Tool BBT-18 Bottom Bracket Tool",
"price": "519.0",
"brand": "Park Tool",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "08058",
"name": "Llanta LT3 híbrida de Bontrager",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}