Overview
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "45313",
"name": "Bontrager Aero Pro Road Handlebar",
"price": "350.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "48049",
"name": "Trek Aero RSL Road Integrated Handlebar/Stem",
"price": "1000.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 2
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "24975",
"name": "Trek Madone SLR Road Handlebar",
"price": "530.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41599",
"name": "Bontrager RSL Aero Road Handlebar",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"id": "32195",
"name": "Bontrager Pro IsoCore VR-SF Road Handlebar",
"price": "500.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "32645",
"name": "Bontrager Pro VR-C Road Handlebar",
"price": "250.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "34938",
"name": "Bontrager GR Elite Road Handlebar",
"price": "160.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "32192",
"name": "Bontrager XXX VR-C Road Handlebar",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 9
}
,
{
"id": "11289",
"name": "Bontrager XXX Aero Handlebar",
"price": "550.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}