if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "42069",
"name": "Unior Universal Freewheel Remover Spindle",
"price": "243.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36478",
"name": "Unior Valve Core Remover",
"price": "421.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36502",
"name": "Unior Vice Jaws",
"price": "1594.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37568",
"name": "Unior Wall or Bench Mount Clamp",
"price": "9425.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}