if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "36025",
"name": "Trek Solstice Mips Bike Helmet",
"price": "5699.0",
"brand": "Trek",
"category": "Bike helmets",
"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": "37124",
"name": "Trek Ballista Mips Road Bike Helmet",
"price": "13574.25",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"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
}
]
}
});
} else {
console.log("dataLayer");
}