if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "36015",
"name": "Bontrager Rear Mount Adjustable Kickstand",
"price": "2299.0",
"brand": "Bontrager",
"category": "Bike kickstands",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24464",
"name": "Bontrager City Shopper Pannier",
"price": "10899.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33594",
"name": "Bontrager Town Double Pannier",
"price": "7799.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47140",
"name": "Trek Elite Recycled Water Bottle Cage",
"price": "899.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22373",
"name": "Bontrager Comp Multi-Tool",
"price": "1299.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}