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": "34589",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "18749.25",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "13049.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "10199.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "9799.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "27290",
"name": "Bontrager TLR Tyre Sealant",
"price": "3199.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41416",
"name": "Trek EcoTack Handlebar Tape",
"price": "2899.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23365",
"name": "Bontrager Elite Shift Cable & Housing Set",
"price": "2699.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "1299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "gold",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "23383",
"name": "Bontrager Bike Wash",
"price": "1099.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}