if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "33192",
"name": "Roscoe 6",
"price": "76649.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark_blue",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}