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