if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "23277",
"name": "Bontrager Pro Shift Cable & Housing Set",
"price": "4899.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23365",
"name": "Bontrager Elite Shift Cable & Housing Set",
"price": "2699.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23366",
"name": "Bontrager Comp Shift Cable & Housing Set",
"price": "1699.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23371",
"name": "Bontrager Comp Shift Cable",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}