if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "35698",
"name": "ฝาปิดชุดถ้วยคอ Trek 2022 Emonda SL",
"price": "2250.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "13658",
"name": "ชุดครอบ Trek Madone 9 Aero IsoSpeed",
"price": "1750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "31321",
"name": "Trek Madone SLR 700c Disc Rigid Fork",
"price": "15500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "37366",
"name": "ขวดน้ำ Trek Voda Ice 20 ออนซ์",
"price": "850.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "26589",
"name": "Trek Madone SLR IsoSpeed ฝาครอบท่ออาน",
"price": "1750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "61077",
"name": "ตะเกียบโซ่ของเฟรม Trek Fuel Gen 7 ที่ทำจากอะลูมิเนียม",
"price": "20300.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "22503",
"name": "Trek 2018 Domane SLR IsoSpeed Downtube Cover",
"price": "600.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "36119",
"name": "หัวครอบถ้วยคอ Trek 2022 Checkpoint SL",
"price": "1500.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "28335",
"name": "Trek Domane SLR IsoSpeed Front Cover",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "21972",
"name": "Trek 2018 Domane IsoSpeed Headtube Cover",
"price": "975.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_greylight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "13528",
"name": "Trek Top Fuel 29 Aluminum Chainstay",
"price": "16500.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "37737",
"name": "Trek FX+ 700c Disc Rigid Fork",
"price": "6000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "39424",
"name": "Trek FX+ 700c Disc Rigid Fork",
"price": "4500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "30893",
"name": "ตะเกียบนั่ง Trek Rail 29 Carbon ปี 2020-2023",
"price": "20250.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "30732",
"name": "แผ่นสปริง Trek Madone 9 Series",
"price": "2500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "30172",
"name": "โช้กหน้าแบบแข็ง (Rigid Fork) Trek FX 3 700c Disc",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "38382",
"name": "ตะเกียบแบบแข็ง Trek Checkpoint SLR 700c",
"price": "16250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "gold_grey",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "14676",
"name": "RockShox Deluxe Re:Aktiv 205 x 57.5mm Shock",
"price": "22000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "24568",
"name": "Trek 2017-2019 Fuel EX Aluminum Re:Aktiv with Thru Shaft Chainstay",
"price": "15850.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greenvisibility_black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "29564",
"name": "Trek 2020 Fuel EX 29 Carbon Chainstay",
"price": "22925.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "34007",
"name": "Trek 2021 Emonda SLR ฝาครอบหัวชุดคอแบบมีลวดลาย",
"price": "2250.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "37398",
"name": "Trek 2022-2023 Rail 29 Carbon Charge Port Cover",
"price": "2000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "30888",
"name": "Trek 2020 Speed Concept 700c โช้คหน้าแข็ง",
"price": "16000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}