if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "58133",
"name": "ชุดบังโคลน Trek NCS",
"price": "2900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23403",
"name": "เบาะจักรยาน Bontrager Commuter Fluid",
"price": "3000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42203",
"name": "หมวกกันน็อกจักรยานสำหรับเยาวชน Trek Tyro",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46175",
"name": "ขวดน้ำ RSL Aero และตะแกรงเก็บขวดน้ำ",
"price": "2900.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "49104",
"name": "ที่ใส่ขวดน้ำ Trek Pro",
"price": "2500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44116",
"name": "หมวกกันน็อก Trek Solstice Asia Fit",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "32541",
"name": "Trek 2023 Powerfly/2024 Marlin+ 6 กันโคลนหน้า",
"price": "3400.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41409",
"name": "ชุดบันไดแบน Trek Line Elite",
"price": "2200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "27290",
"name": "น้ำยาซีลแลนท์ยาง Bontrager TLR",
"price": "1500.0",
"brand": "Bontrager",
"category": "Bike tires",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44426",
"name": "ชุดบันไดแบน Trek Line Comp",
"price": "1500.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "purpledark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "25874",
"name": "แคลมป์ยึดหลักอาน Trek Kids",
"price": "175.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33213",
"name": "ชุดน็อตยึดเกราะมอเตอร์ Trek 2020 Powerfly HT",
"price": "250.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37803",
"name": "Bontrager Pro Blendr MTB Knock Block",
"price": "1900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "35809",
"name": "Bontrager Line Comp Flat Pedal Set",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "24758",
"name": "แคลมป์ยึดหลักอานแบบปลดเร็ว Bontrager Eyeleted",
"price": "750.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "47140",
"name": "ขากระติกน้ำรีไซเคิล Trek Elite",
"price": "620.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "30975",
"name": "Trek Kids' Single Speed Grip Set",
"price": "375.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "41416",
"name": "เทปพันแฮนด์จักรยาน Trek EcoTack",
"price": "1400.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "38360",
"name": "สกรูยึดชุดแฮนด์ Trek 2022 Speed Concept",
"price": "125.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "08427",
"name": "แคลมป์ยึดเบาะจักรยานแบบมีรู Bontrager",
"price": "500.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "47143",
"name": "ที่ใส่ขวดน้ำรีไซเคิลแบบโหลดด้านขวา Trek",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "09955",
"name": "คันเบรกสำหรับเด็ก Trek",
"price": "325.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "47144",
"name": "Trek Left Side Load Recycled Water Bottle Cage",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}