if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "14990",
"name": "Trek Boone Gen 2 700c โช้คหน้า",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "32233",
"name": "ฝาปิดช่องเก็บของท่อล่าง Trek Domane SL",
"price": "2250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "34448",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2021 Verve Aluminum 700c Disc",
"price": "5500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "24694",
"name": "Trek 2019 Domane SL 700c Disc Fork",
"price": "12000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34006",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2021 Domane SL 700c",
"price": "15250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_white",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "41290",
"name": "ตะเกียบแบบแข็ง Trek Domane SL 7 Gen 4 700c",
"price": "12500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_bronze",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "41289",
"name": "Trek Domane SL 5 700c โช้คหน้าแข็ง",
"price": "11750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "27751",
"name": "ตะเกียบแบบแข็ง Trek 2018 Emonda SL 6 700c Disc",
"price": "13750.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "41306",
"name": "ตะเกียบแบบแข็ง Trek Domane SL 6 Gen 4 700c",
"price": "14250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "34447",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2021 Verve Steel 700c Disc",
"price": "4250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "35917",
"name": "ฝาปิดช่องเก็บของท่อล่าง Trek 2022 Domane SL",
"price": "2250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "45277",
"name": "Trek Verve Disc Threadless อะลูมิเนียม 700c โช้คแข็ง",
"price": "6425.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "48045",
"name": "โช้กหน้าแบบแข็ง (Rigid Fork) Trek FX 3 700c Disc",
"price": "15000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "35916",
"name": "ตะเกียบแข็ง Trek 2022 Domane SL 5 700c",
"price": "17250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_grey",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "42221",
"name": "ฝาครอบท่อล่าง Trek 2018 Domane IsoSpeed",
"price": "525.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "30169",
"name": "ตะเกียบแบบแข็ง Trek FX 1 700c Disc",
"price": "5500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "45315",
"name": "สะพานยึดบังโคลน Trek Domane AL",
"price": "150.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "35005",
"name": "โช้กหน้าแบบแข็ง (Rigid Fork) Trek 2021 Domane+ ALR 700c",
"price": "17250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "14819",
"name": "ฝาครอบช่อง Control Center สำหรับ Trek Domane SL",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "30172",
"name": "โช้กหน้าแบบแข็ง (Rigid Fork) Trek FX 3 700c Disc",
"price": "11500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "14601",
"name": "Trek Domane Control Center",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "32199",
"name": "ฝาครอบคิ้ว Trek 2020 Domane SL",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 22
}
,
{
"id": "41307",
"name": "Trek 2023 Domane SL 6 IsoSpeed Cover",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 23
}
,
{
"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": 24
}
]
}
});
} else {
console.log("dataLayer");
}