if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "25315",
"name": "Wheels Manufacturing T47-BB-SHIM-AC Bottom Bracket",
"price": "2529.0",
"brand": "Wheels Manufacturing",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25316",
"name": "Wheels Manufacturing T47-BB-SRAM-AC Bottom Bracket",
"price": "2529.0",
"brand": "Wheels Manufacturing",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}