if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "25852",
"name": "Trek Speed Concept Aerobar Pad Holder Wing",
"price": "2299.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25840",
"name": "Bontrager Race X Lite IsoZone Handlebar Pad Kit",
"price": "2599.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14672",
"name": "Bontrager Aero Arm Pads",
"price": "1899.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}