if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "270199.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "teal",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}