if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "35952",
"name": "Electra Pinger Bike Bell",
"price": "25.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "25477",
"name": "Bontrager Shoe Replacement BOA IP1 Left Dial",
"price": "40.0",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "bluelight",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "24511",
"name": "Bontrager Solstice Mips Bike Helmet Fit Pad",
"price": "3.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "47280",
"name": "Slash 9.9 X0 AXS T-Type Gen 6",
"price": "15999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "8999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "57662",
"name": "Madone SL 6 Gen 8",
"price": "6999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "11776",
"name": "Bontrager SPA SS7 Cantilever Brake 700C Suspension Fork",
"price": "410.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "25487",
"name": "Bontrager Pro Water Bottle Cage",
"price": "100.0",
"brand": "Bontrager",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "40916",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "56.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"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": 10
}
,
{
"id": "47338",
"name": "Tektro TR-17 2.3mm 6-Bolt Disc Brake Rotor",
"price": "40.0",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}