Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "INR",
"impressions": [
{
"id": "11323",
"name": "Bontrager Interchange Digital Combo Sensor",
"price": "4499.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "12319",
"name": "Bontrager DuoTrap S Digital Sensor",
"price": "4799.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25410",
"name": "Bontrager Carbon Road Frame DuoTrap S Cover",
"price": "299.0",
"brand": "Trek",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13756",
"name": "Bontrager Aero Wheel Magnet",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "28391",
"name": "Bontrager 26 mm Cadence Band Magnet",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "28393",
"name": "Bontrager 9 mm Cadence Band Magnet",
"price": "299.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28394",
"name": "Bontrager 4 mm Cadence Band Magnet",
"price": "199.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "25406",
"name": "Bontrager DuoTrap S Chainstay Cover-Alloy Frames",
"price": "99.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}