if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "25367",
"name": "Bontrager XXX WaveCel Road Bike Helmet",
"price": "13049.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14896",
"name": "Bontrager Velocis Mips Road Helmet",
"price": "10199.25",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "1874.25",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}