if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "28924",
"name": "FSA 1-1/8˝ Upper Headset Bearing",
"price": "16.0",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"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": 2
}
,
{
"id": "10382",
"name": "VP Components A76CG 1-1/8˝ Headset",
"price": "13.0",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "32927",
"name": "VP Components A42E 1.125˝ Zero Stack Headset",
"price": "12.0",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34280",
"name": "Bontrager 5mm Alloy Headset Spacer - Pack of 3",
"price": "12.0",
"brand": "Bontrager",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "27395",
"name": "Bontrager Round Base TLR Valve Stem",
"price": "7.0",
"brand": "Bontrager",
"category": "Bike tubes & tubeless bike tire accessories",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "13609",
"name": "Lee Chi Road Brake Pad",
"price": "7.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "37981",
"name": "Bontrager Lights USB Type-C Charge Cable",
"price": "5.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}