if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "08058",
"name": "Llanta LT3 híbrida de Bontrager",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13561",
"name": "Llanta LT2 Comp híbrida de Bontrager",
"price": "41.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}