if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "36951",
"name": "Trek Starvos WaveCel Cycling Helmet",
"price": "8174.25",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36025",
"name": "Trek Solstice Mips Bike Helmet",
"price": "5699.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34589",
"name": "Trek Velocis Mips Road Bike Helmet",
"price": "18749.25",
"brand": "Trek",
"category": "Bike helmets",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36028",
"name": "Trek Solstice Bike Helmet",
"price": "3999.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37124",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "13574.25",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"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": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "13049.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "30482",
"name": "Bontrager Solstice Bike Helmet",
"price": "2699.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "10199.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "22316",
"name": "Bontrager Velocis Mips Bike Helmet Fit Pad",
"price": "899.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "14885",
"name": "Bontrager Ballista Mips Bike Helmet Fit Pad",
"price": "799.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "13492",
"name": "Bontrager Helmet Mount",
"price": "2099.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}