if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "6599.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35885",
"name": "Bontrager Left Side Load Recycled Water Bottle Cage",
"price": "1199.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24663",
"name": "Bontrager Blendr Saddle Accessory Mount",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}