if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "27526",
"name": "ปลั๊กสำหรับเจาะท่อเบาะนั่งแบบดรอปเปอร์เฟรมคาร์บอน Trek",
"price": "150.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47078",
"name": "ที่ยึดไฟหน้าแบบบูรณาการ Trek City Integrated",
"price": "175.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24745",
"name": "สายเบรกจักรยานเสือภูเขา Bontrager Comp",
"price": "200.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48196",
"name": "แผงกันสีท่อล่าง Trek Checkmate SLR",
"price": "250.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25398",
"name": "Bontrager Trip Universal Handlebar Mount",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25928",
"name": "แคลมป์ยึดตะกร้าหน้า Bontrager Interchange ขนาด 31.8 มม.",
"price": "150.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44098",
"name": "หมวกกันน็อกสำหรับเด็ก Trek Solstice พร้อมบังแดด",
"price": "150.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45586",
"name": "Trek 2024 Supercaliber Rotor Strike Guard",
"price": "175.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "42050",
"name": "Trek Checkpoint SLR/SL สแตนเลสกันกระแทกขาโซ่",
"price": "200.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45315",
"name": "สะพานยึดบังโคลน Trek Domane AL",
"price": "150.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "38006",
"name": "Trek 2022 Speed Concept SLR กล่องใส่ขวดน้ำท่อล่าง",
"price": "175.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "25412",
"name": "Bontrager Threaded Wheel Magnet",
"price": "175.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "44650",
"name": "ยางกันกระแทกตะเกียบ Trek 2023 Farley Alloy",
"price": "250.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37482",
"name": "Trek 2022 Rail Carbon Gen 3 ปลอกออกสายเคเบิลบอตทอมแบร็คเก็ต",
"price": "150.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "30730",
"name": "Trek Madone 9 Series Steerer Stop",
"price": "175.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "48983",
"name": "แผ่นกันกระแทกตะเกียบโซ่แบบยึดติดถาวร Trek 2025 Procaliber",
"price": "250.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "44094",
"name": "หมวกกันน็อกจักรยาน Trek Solstice Visor",
"price": "150.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "22556",
"name": "ชุดน็อตยึดบังโคลนหน้าจักรยานไฟฟ้า Trek-Diamant",
"price": "200.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "grey",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "01736",
"name": "Jagwire Cable Grub Seal",
"price": "175.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "48289",
"name": "Trek Checkpoint SL Gen 3 แผ่นกันกระแทกขาโซ่",
"price": "250.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "32296",
"name": "Trek Control Freak รางเคเบิลเต็มความยาวท่อล่าง",
"price": "150.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "25406",
"name": "ฝาครอบตะเกียบโซ่ Bontrager DuoTrap S- เฟรมอัลลอย",
"price": "250.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "31337",
"name": "รางเดินสายท่อบน Trek Domane 2020",
"price": "175.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}