if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Cycling Gloves",
"price": "3599.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Cycling Gloves",
"price": "2899.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Gloves",
"price": "2499.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}