if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "33100",
"name": "Bontrager XR Trail Comp MTB Grip Set",
"price": "1799.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14247",
"name": "Bontrager Satellite IsoZone Grip",
"price": "2799.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35888",
"name": "Bontrager XR Endurance Elite Recycled Grip Set",
"price": "2999.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35889",
"name": "Bontrager XR Endurance Comp Recycled Grip Set",
"price": "1099.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "08387",
"name": "Bontrager SSR Grip",
"price": "699.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30976",
"name": "Trek Kids' Twist Shift Grips",
"price": "299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12278",
"name": "Trek Kids' MTB Grips",
"price": "199.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}