if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "34588",
"name": "หมวกนิรภัย Trek Velocis Mips",
"price": "10500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35698",
"name": "ฝาปิดชุดถ้วยคอ Trek 2022 Emonda SL",
"price": "2250.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "13658",
"name": "ชุดครอบ Trek Madone 9 Aero IsoSpeed",
"price": "1750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"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_black",
"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": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "36119",
"name": "หัวครอบถ้วยคอ Trek 2022 Checkpoint SL",
"price": "1500.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "30893",
"name": "ตะเกียบนั่ง Trek Rail 29 Carbon ปี 2020-2023",
"price": "20250.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "30732",
"name": "แผ่นสปริง Trek Madone 9 Series",
"price": "2500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "30172",
"name": "โช้กหน้าแบบแข็ง (Rigid Fork) Trek FX 3 700c Disc",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "38382",
"name": "ตะเกียบแบบแข็ง Trek Checkpoint SLR 700c",
"price": "16250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_grey",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "34007",
"name": "Trek 2021 Emonda SLR ฝาครอบหัวชุดคอแบบมีลวดลาย",
"price": "2250.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"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": 14
}
,
{
"id": "30888",
"name": "Trek 2020 Speed Concept 700c โช้คหน้าแข็ง",
"price": "16000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "41857",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2023 Domane+ SLR 700c",
"price": "15500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "34012",
"name": "Trek 2021 Domane SLR ฝาครอบที่เก็บของใต้ท่อล่าง",
"price": "2250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "purpledark_greydark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "46229",
"name": "ตะเกียบแข็ง Trek 2024 Emonda SL 700c",
"price": "13500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "34447",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2021 Verve Steel 700c Disc",
"price": "4250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "30369",
"name": "Trek 2020 Madone SL 700c Rigid Fork",
"price": "17250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "47144",
"name": "Trek Left Side Load Recycled Water Bottle Cage",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "41940",
"name": "ฝาครอบ Trek Domane+ SLR IsoSpeed",
"price": "750.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "48830",
"name": "ชุดจับแฮนด์จักรยานเสือภูเขา Trek Line Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "33984",
"name": "Trek 2021-2022 Powerfly FS แชสซีหลัง",
"price": "17000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}