if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "26592",
"name": "Trek T-Shirt",
"price": "2499.0",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey_red",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}