if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "34589",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "18749.25",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41673",
"name": "Trek Adventure Boss Full Frame Bag",
"price": "8399.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41674",
"name": "Trek Blendr Saddle Bag",
"price": "6599.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35555",
"name": "Bontrager Adventure Boss Frame Bag",
"price": "7299.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "10199.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31568",
"name": "Bontrager Starvos WaveCel Cycling Helmet",
"price": "9799.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "2699.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "27290",
"name": "Bontrager TLR Tyre Sealant",
"price": "3199.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "2499.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "27863",
"name": "Bontrager Bat Cage Water Bottle Cage",
"price": "499.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}