if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "32233",
"name": "ฝาปิดช่องเก็บของท่อล่าง Trek Domane SL",
"price": "2250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "26590",
"name": "ฝาครอบหัวชุดแฮนด์ Trek Madone SLR แบบเพ้นท์",
"price": "2325.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "yellowvisibility",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41858",
"name": "Trek Domane SLR Gen 4 700c โช้คหน้าแข็ง",
"price": "20000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey_white",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41359",
"name": "ตะเกียบแข็ง Trek 2023 Madone SL7 700c",
"price": "16000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41855",
"name": "ตะเกียบแบบแข็ง Trek Madone SLR 700c",
"price": "21250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "44371",
"name": "Trek 2023 Rail 29 โครงอลูมิเนียม ฝาครอบแบตเตอรี่",
"price": "7000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "teal_greydark",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "42227",
"name": "Trek 2018-2021 Boone IsoSpeed Downtube Cover",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "41856",
"name": "Trek Emonda SLR 700 โช้คหน้าแข็ง",
"price": "18750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "35040",
"name": "รองเท้าขี่จักรยาน Trek RSL Road Cycling Shoe",
"price": "17000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "45134",
"name": "Trek Checkpoint ALR 700c Rigid Fork",
"price": "13750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greenvisibility_black",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "42221",
"name": "ฝาครอบท่อล่าง Trek 2018 Domane IsoSpeed",
"price": "525.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "14601",
"name": "Trek Domane Control Center",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_greylight",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "33268",
"name": "Trek Domane+ HP Battery Cover",
"price": "4696.09",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "35697",
"name": "Trek 2022 Emonda SL 700c Rigid Fork",
"price": "13500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "41938",
"name": "Trek Domane MKIV IsoSpeed ท็อปทูปคัฟเวอร์",
"price": "700.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "26514",
"name": "Trek 2018 Madone 9-Series 700c Rigid Fork",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_white",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "07273",
"name": "ชุดฮาร์ดแวร์เฟรม Trek Emonda SL/SLR Di2",
"price": "850.0",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "24583",
"name": "Trek eMTB Bosch Battery Cover",
"price": "4750.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greenlight_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "42278",
"name": "หลักอาน Trek Speed Concept SLR",
"price": "17500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "27521",
"name": "ยางรองช่องร้อยสายท่อล่าง Trek",
"price": "125.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "30123",
"name": "อะแดปเตอร์แบตเตอรี่ภายในสำหรับ Trek Di2",
"price": "125.0",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "34338",
"name": "Trek Verve+ 4 700c Fork",
"price": "6179.06",
"brand": "Bontrager",
"category": "Bike forks",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "23653",
"name": "Trek Roscoe 20˝ Rigid Fork",
"price": "5000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"id": "33691",
"name": "Trek 2021 Checkpoint SL Control Center Cover",
"price": "750.0",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}