if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "44315",
"name": "Trek Full Suspension 22mm x 17mm x 3mm Spacer",
"price": "4.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "40257",
"name": "Trek Full Suspension Heavy Contact 8x16x5mm Extended Race Sealed Bearing",
"price": "17.0",
"brand": "Trek",
"category": "Bearings",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "25698",
"name": "Bontrager Linear Pull Brake Pads – Economy",
"price": "7.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "48091",
"name": "Trek Madone SL Gen 8 700c Rigid Fork",
"price": "600.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "45235",
"name": "SRAM TwistLoc Ultimate Dual Remote Lockout Set",
"price": "330.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "37096",
"name": "Trek Velocis Dual Foam Unisex Cycling Glove",
"price": "80.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "21957",
"name": "Bontrager Rapid Drive 108 Free Hub Pawls",
"price": "18.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "01532",
"name": "Bontrager Linear Pull Brake Pad Cartridge – Performance",
"price": "18.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "25696",
"name": "Bontrager Linear Pull Brake Pad Insert – Performance",
"price": "11.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "27613",
"name": "Trek Dual Sport Bottom Bracket Cable Guide",
"price": "2.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "21958",
"name": "Bontrager Rapid Drive 108 Free Hub Pawl Springs",
"price": "9.0",
"brand": "Bontrager",
"category": "Bike hubs & hub parts",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "60.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "37382",
"name": "Trek Voda 444 ml/15 oz Water Bottle",
"price": "16.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 13
}
]
}
});
} else {
console.log("dataLayer");
}