if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "11638",
"name": "Bontrager Race Lite Ergo Bar Ends",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22158",
"name": "Bontrager Race Lite Ergo Bar Ends IsoZone Bar Adapters",
"price": "799.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}