if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "14259",
"name": "Bontrager Ion 100 R/Flare R City Bike Light Set",
"price": "6099.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "11077",
"name": "Bontrager GOtime Cycling Computer",
"price": "2499.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12278",
"name": "Trek Kids' MTB Grips",
"price": "199.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36951",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "10899.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "10399.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31205",
"name": "Bontrager Tyro Youth Bike Helmet",
"price": "4599.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "11461",
"name": "Bontrager Dialed Kids' Road Tyre",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "399.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "30976",
"name": "Trek Kids' Twist Shift Grips",
"price": "299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}