if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "33877",
"name": "Bontrager Approved TK-32 11-Speed Freehub Body",
"price": "44.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "40418",
"name": "C-Star Hydraulic Brake Olives and Barbs - Pack of 10",
"price": "36.0",
"brand": "C-Star",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "40919",
"name": "Tektro Olive & Barb Dorado Auriga Comp Draco Brake Part - Set of 10",
"price": "32.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "32116",
"name": "Tektro Hydraulic Brake Olive and Barb Hose Fittings - 10 Pack",
"price": "16.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "gold",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "47138",
"name": "Bontrager Rotary Head Seatpost 7 x 10 mm Saddle Clamp Ears",
"price": "15.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "48305",
"name": "Tektro TR-52 6-Bolt Disc Brake Rotor",
"price": "15.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}