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