if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33777",
"name": "Bolsa para Portabultos Trasero Electra Carbón",
"price": "",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40322",
"name": "Bolsa Trasera Electra Fern",
"price": "",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}