if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "10885",
"name": "Trek Pavement Suspension เชนสเตย์",
"price": "850.0",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "24997",
"name": "Trek Madone SLR Carbon ฝาครอบเสานั่งแบบภายใน",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "46106",
"name": "ฝาปิดช่องเก็บของท่อล่าง Trek 2024 Checkpoint SL",
"price": "3000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "38384",
"name": "Trek 2022 Checkpoint SLR IsoSpeed Cover",
"price": "1500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "30733",
"name": "ฝาครอบ Trek Madone 9 Series Control Center",
"price": "975.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "22465",
"name": "Trek 2018 Émonda SL 6 700c โช้คหน้าแข็ง",
"price": "14000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "31279",
"name": "ตะเกียบแข็ง Trek Allant+ 9.9 700c ปี 2020-2022",
"price": "21500.0",
"brand": "Trek-Diamant",
"category": "Bike forks",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "26534",
"name": "ตะเกียบแบบแข็ง Trek Lexa Neutral 700c",
"price": "7500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "46175",
"name": "ขวดน้ำ RSL Aero และตะแกรงเก็บขวดน้ำ",
"price": "2900.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "47896",
"name": "Trek Perf Line Handlebar Tape Set",
"price": "1000.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "11271",
"name": "การจัดการสายเคเบิล Trek Madone",
"price": "275.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "41714",
"name": "หัวครอบหลักอานแบบลิ่ม Trek Speed Concept TT",
"price": "3750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "25921",
"name": "Trek Madone SLR ท่อล่างตัวหยุดสายเคเบิล/ที่ติดตั้งแบตเตอรี่",
"price": "1450.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "45528",
"name": "ฝาปิดช่องชาร์จ Trek-Diamant 2022-2023 Bosch Smart System",
"price": "1250.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "14118",
"name": "Trek Slash Gen 4 Aluminum Chainstay",
"price": "13500.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "27653",
"name": "ตัวห้อยตีนผีเลื่อนแนวนอน Trek CX/Gravel",
"price": "650.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "41991",
"name": "หลักอานแบบ Seatmast อะไหล่ Trek 2023 Madone SL",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "41308",
"name": "Trek 2023 Domane SL 6 Downtube Storage Cover",
"price": "1975.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "30977",
"name": "ชุดบันไดเด็ก Trek Kids' Platform ขนาดเล็ก",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "32907",
"name": "ฝาครอบแบตเตอรี่ Trek District+ RIB",
"price": "5500.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "33690",
"name": "ฝาครอบ IsoSpeed สำหรับ Trek Checkpoint SL ปี 2021",
"price": "1500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "32237",
"name": "Trek 2020 Domane SL IsoSpeed Cover",
"price": "825.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "48284",
"name": "Trek Top Fuel 29 Gen 6 Aluminum Rocker Link",
"price": "8250.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "40466",
"name": "Trek 2023 Fuel EXe Carbon Chainstay",
"price": "29000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}