if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "11932",
"name": "Trek Ticket S 26 Aluminum Chainstay",
"price": "33125.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "44370",
"name": "ฝาครอบแบตเตอรี่ Trek 2023 Powerfly HT/FS",
"price": "4750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "10861",
"name": "ชุดบันไดเด็ก Trek Dialed",
"price": "450.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "64879",
"name": "Madone SLR 9 AXS 1x Gen 8",
"price": "449000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "11974",
"name": "Trek Ticket S 26 Rocker Link",
"price": "8400.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "38382",
"name": "ตะเกียบแบบแข็ง Trek Checkpoint SLR 700c",
"price": "16250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "gold_grey",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "45305",
"name": "ตะเกียบแข็ง Trek Domane AL 4 700c",
"price": "17250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "34526",
"name": "Trek 2021 Domane AL 4 700c Disc Rigid Fork",
"price": "12750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "44457",
"name": "Bontrager SPA SS7 Disc Brake 700C Suspension Fork",
"price": "8075.0",
"brand": "Bontrager",
"category": "Bike forks",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "37366",
"name": "ขวดน้ำ Trek Voda Ice 20 ออนซ์",
"price": "850.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "34447",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2021 Verve Steel 700c Disc",
"price": "2500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "45034",
"name": "กระบอกน้ำ Trek Voda Ice ขนาด 28 ออนซ์",
"price": "850.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "58135",
"name": "Madone SLR 7 AXS Gen 8",
"price": "349000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "45621",
"name": "ชุดขายึดไฟ Herrmans Nordic MR5 & MR9",
"price": "750.0",
"brand": "HERRMANS",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "38384",
"name": "Trek 2022 Checkpoint SLR IsoSpeed Cover",
"price": "1500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "437000.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "40788",
"name": "Trek 2023-2025 Fuel EX 29 ฝาครอบช่องเก็บของ - รุ่นคาร์บอน",
"price": "3500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_bronze",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "47888",
"name": "Trek Checkmate SLR 700c โช้คหน้าแข็ง",
"price": "18750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greendark_greenlight",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "22890",
"name": "Trek Checkpoint SL 700c Rigid Fork",
"price": "10250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "41292",
"name": "ฝาครอบ IsoSpeed Trek Domane SL 7",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "11836",
"name": "Trek Kids' 24˝ Suspension Fork",
"price": "4750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "21681",
"name": "Trek Crockett Gen 2 700c โช้คหน้าดิสก์",
"price": "11000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_greenvisibility",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "32979",
"name": "ตะเกียบแบบแข็ง Trek 2020 Domane+ HP 700c",
"price": "20750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "37984",
"name": "Trek Speed Concept SLR Gen 3 700c Rigid Fork",
"price": "22500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}