if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SGD",
"impressions": [
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "7499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "22225",
"name": "Trek FX Sport 6 Disc Fork",
"price": "440.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "45345",
"name": "Trek 2024 Madone SL 6 700c Rigid Fork",
"price": "600.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_grey",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "34485",
"name": "Trek 2021 Emonda ALR 6 700c Rigid Fork",
"price": "700.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "30404",
"name": "Trek 2020 Emonda SL 6 700c Disc Rigid Fork",
"price": "440.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_white",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "36727",
"name": "Trek 2021 Madone SL 6 700c Rigid Fork",
"price": "810.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "48048",
"name": "Trek Madone SLR Gen 8 700c Rigid Fork",
"price": "800.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"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": 8
}
,
{
"id": "63552",
"name": "Trek Fuel Gen 7 Chainstay Bridge Armor",
"price": "28.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "41858",
"name": "Trek Domane SLR Gen 4 700c Rigid Fork",
"price": "800.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_white",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "61075",
"name": "Trek Fuel Carbon Frame Gen 7 Seatstay",
"price": "1250.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "61074",
"name": "Trek Fuel Carbon Frame Gen 7 Chainstay",
"price": "1350.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "47830",
"name": "Trek Madone Gen 8 Seat Post",
"price": "400.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "33980",
"name": "Trek Slash Gen 5 Carbon Seatstay",
"price": "1000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "33979",
"name": "Trek Slash Gen 5 Carbon Chainstay",
"price": "1200.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "33977",
"name": "Trek Slash Gen 5 Aluminum Chainstay",
"price": "637.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "33978",
"name": "Trek Slash Gen 5 Aluminum Seatstay",
"price": "569.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41346",
"name": "Fuel EX 5 Gen 6",
"price": "2399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "61076",
"name": "Trek Fuel Carbon Frame Gen 7 Storage Door Cover",
"price": "180.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "61077",
"name": "Trek Fuel Aluminum Frame Gen 7 Chainstay",
"price": "740.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "61078",
"name": "Trek Fuel Aluminum Frame Gen 7 Seatstay",
"price": "540.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "24319",
"name": "Trek Gen 1 Road Disc Dropout Kit",
"price": "63.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "44222",
"name": "Trek Madone SLR Gen 7 Integrated Barstem Blendr Bases",
"price": "12.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "49946",
"name": "Checkpoint ALR 5 Gen 3",
"price": "3699.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "bronze",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}