if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "12968",
"name": "Inyector de sellante Bontrager TLR",
"price": "230.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27290",
"name": "Agente sellante para neumáticos TLR Bontrager",
"price": "119.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}