Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "37298",
"name": "Bontrager Perf Line Handlebar Tape Set",
"price": "2499.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red_black",
"list": "More Options",
"position": 1
}
,
{
"id": "47893",
"name": "Trek Gel Cork Handlebar Tape Set",
"price": "1299.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "gold",
"list": "More Options",
"position": 2
}
,
{
"id": "22854",
"name": "Bontrager Gel Cork Graphic Handlebar Tape",
"price": "2899.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "black_white",
"list": "More Options",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}