if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "35897",
"name": "Electra Miami Phone Bag",
"price": "3799.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}