if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37664",
"name": "Unior 12mm x 28mm Bearing Press Adapter",
"price": "146.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37682",
"name": "Unior 1-1/2˝ Steerer Tube Cutting Guide Bushing",
"price": "266.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "61990",
"name": "Sinter SRAM Road Type Standard Disc Brake Pads",
"price": "438.0",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "62169",
"name": "Sinter Shimano D Type Endurance Disc Brake Pads",
"price": "731.0",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "04701",
"name": "Park Tool Master-Link Pliers",
"price": "503.0",
"brand": "Park Tool",
"category": "Bike tools & maintenance",
"variant": "blue_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36462",
"name": "Unior 16-notch Bottom Bracket Socket",
"price": "1045.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36492",
"name": "Unior Speed Nipple Bit",
"price": "198.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36475",
"name": "Unior Spoke Nipple Driver",
"price": "680.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}