if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41464",
"name": "C-Star Hydraulic Disc Brake Bleed Kit",
"price": "2192.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41591",
"name": "Promax Hydraulic Brake Bleed Kit",
"price": "1503.0",
"brand": "Promax",
"category": "Bike brakes, pads, & levers",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}