if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "24257",
"name": "Trek M5x0.8 Countersunk Flat Head Cap Screws",
"price": "4.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "30668",
"name": "Trek Domane SLR Colour-Matched Carbon Internal Seatmast Cap",
"price": "440.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "30477",
"name": "Trek Madone SL Colour-Matched Carbon Internal Seatmast Cap",
"price": "400.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "44140",
"name": "Trek Domane MKIII Color Match Gloss Internal Mast Caps",
"price": "400.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "44141",
"name": "Trek Domane MKIII Color Match Matte Internal Mast Caps",
"price": "400.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "24997",
"name": "Trek Madone SLR Colour-Matched Carbon Internal Seatmast Cap",
"price": "400.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "27118",
"name": "Bontrager Lync Ion Stem Mount Steady-beam Front Light",
"price": "260.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black_white",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "37295",
"name": "Trek Madone 9 Series Control Center Di2 Junction Box",
"price": "79.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "26058",
"name": "Trek Integrated GXP BB90/BB95 Steel Bottom Bracket Kit",
"price": "69.0",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "37902",
"name": "Trek-Diamant Cargo Box 1 1/8˝ Headset Spacer",
"price": "10.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35283",
"name": "Bontrager Approved 31.8 Low-Rise Matte Alloy MTB Handlebar",
"price": "21.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "28837",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Low-Far",
"price": "190.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "13896",
"name": "Bontrager Speed Concept Gen 1 Race X Lite Stem Low-Near",
"price": "130.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "33602",
"name": "Bontrager Aeolus RSL 12 mm Non-Disc Side Axle End Cap",
"price": "86.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"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": 15
}
,
{
"id": "44961",
"name": "Trek Low Profile Conversion Crown Race 1-1/8˝ to 1.5˝",
"price": "3.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "60.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}