if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "31318",
"name": "Trek Madone SLR 6 700c Disc Rigid Fork",
"price": "14250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "33986",
"name": "ข้อต่อคานรับโช้ค Trek Slash Gen 5 Gloss - รุ่นคาร์บอน",
"price": "13550.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "26581",
"name": "Trek Madone SLR 8 700c Rigid Fork",
"price": "13250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "reddark_black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "26318",
"name": "Trek 2017 Domane SL 7 700c Rigid Fork",
"price": "12000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_blue",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "27466",
"name": "Trek Emonda SLR 7 Disc 700c Rigid Fork",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_orangevisibility",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "29094",
"name": "Trek 2019 Emonda SLR 9 700c Disc Rigid Fork",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "26859",
"name": "Trek 2019 Domane SLR 6 700c Disc Rigid Fork",
"price": "11000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_bluedark",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "14818",
"name": "Trek 2017 Domane SL 5 700c Disc Rigid Fork",
"price": "10500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "bluedark_greenlight",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "26426",
"name": "Trek 2017 Domane SLR 7 700c Rigid Fork",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_orange",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "26430",
"name": "Trek 2017 Domane SLR 8 700c Rigid Fork",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "27765",
"name": "Trek 2019 Domane SL 7 Women's 700c Disc Rigid Fork",
"price": "9750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_teal",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "26364",
"name": "Trek 2018 Domane SL 700c Disc Rigid Fork",
"price": "9750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "42197",
"name": "Trek-Diamant 2022-2023 Bosch Smart System ที่ชาร์จพร้อมฝาครอบ",
"price": "360.0",
"brand": "Trek",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "48103",
"name": "สเปเซอร์ถ้วยคอบาร์สเต็ม Trek Aero RSL",
"price": "200.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "26425",
"name": "Trek 2017 Domane SLR 6 700c Disc Rigid Fork",
"price": "11000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "26366",
"name": "Trek 2018 Domane SL Women's 700c Rigid Fork",
"price": "9250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greenlight",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "42186",
"name": "บังโคลนหลัง Trek-Diamant SKS 700c x 46 มม. 450 มม.",
"price": "1250.0",
"brand": "Trek-Diamant",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "34171",
"name": "น็อตแกนจุดหมุนหลัก Trek",
"price": "400.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "26524",
"name": "Trek Boone & Crockett Neutral 700c Rigid Fork",
"price": "17500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "26044",
"name": "Trek CeramicSpeed Shimano Coated BB90/95 Kit",
"price": "17500.0",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "26045",
"name": "Trek CeramicSpeed SRAM Coated BB90/95 Kit",
"price": "17500.0",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "26043",
"name": "Trek CeramicSpeed SRAM Standard BB90/95 Kit",
"price": "12500.0",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "13280",
"name": "Trek CeramicSpeed Shimano Standard BB90/95 Kit",
"price": "12500.0",
"brand": "Trek",
"category": "Bike bottom brackets",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "44797",
"name": "ไฟท้ายจักรยานเรดาร์ Trek CarBack",
"price": "7500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}