if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "1874.25",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37509",
"name": "Santini Trek-Segafredo Men's Team Cycling Gloves",
"price": "2099.25",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25036",
"name": "Bontrager Windshell Cycling Skull Cap",
"price": "1599.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}