if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "25835",
"name": "Trek BarStem Titanium Pinch Bolt",
"price": "399.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}