if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "38360",
"name": "สกรูยึดชุดแฮนด์ Trek 2022 Speed Concept",
"price": "125.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "48435",
"name": "รองเท้าเสือหมอบ Trek Velocis",
"price": "15000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "27160",
"name": "Trek Checkpoint AL 700c Rigid Fork",
"price": "8750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greendark_greenvisibility",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "27751",
"name": "ตะเกียบแบบแข็ง Trek 2018 Emonda SL 6 700c Disc",
"price": "13750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "45034",
"name": "กระบอกน้ำ Trek Voda Ice ขนาด 28 ออนซ์",
"price": "850.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "46107",
"name": "Trek 2024 Checkpoint SL ฝาครอบท่อคอ",
"price": "2250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "44251",
"name": "Trek 2023 Verve Aluminum 700c Disc Rigid Fork",
"price": "4250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "30170",
"name": "Trek FX 2 700c Disc Rigid Fork",
"price": "6500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "45277",
"name": "Trek Verve Disc Threadless อะลูมิเนียม 700c โช้คแข็ง",
"price": "6425.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "37123",
"name": "หมวกกันน็อกเสือหมอบ Trek Ballista Mips",
"price": "7900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35698",
"name": "ฝาปิดชุดถ้วยคอ Trek 2022 Emonda SL",
"price": "2250.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "13658",
"name": "ชุดครอบ Trek Madone 9 Aero IsoSpeed",
"price": "1750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "40249",
"name": "หมวกกันน็อก Trek Circuit WaveCel",
"price": "5500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tealdark",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "22503",
"name": "Trek 2018 Domane SLR IsoSpeed Downtube Cover",
"price": "600.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "34588",
"name": "หมวกนิรภัย Trek Velocis Mips",
"price": "10500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "26589",
"name": "Trek Madone SLR IsoSpeed ฝาครอบท่ออาน",
"price": "1750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "45272",
"name": "รองเท้าเสือภูเขา Trek Foray",
"price": "9500.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "33267",
"name": "Trek 2021 Emonda SL Painted Headset Cover",
"price": "2250.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "37366",
"name": "ขวดน้ำ Trek Voda Ice 20 ออนซ์",
"price": "850.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "61077",
"name": "ตะเกียบโซ่ของเฟรม Trek Fuel Gen 7 ที่ทำจากอะลูมิเนียม",
"price": "27533.91",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "28335",
"name": "Trek Domane SLR IsoSpeed Front Cover",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "31321",
"name": "Trek Madone SLR 700c Disc Rigid Fork",
"price": "15500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "34290",
"name": "Trek 2021 Powerfly 29 Battery Cover",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "bluedark_grey",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}