if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "27195",
"name": "Bontrager Aeolus Pro 3V TLR Disc Road Wheel",
"price": "20000.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "49104",
"name": "ที่ใส่ขวดน้ำ Trek Pro",
"price": "2500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42203",
"name": "หมวกกันน็อกจักรยานสำหรับเยาวชน Trek Tyro",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44116",
"name": "หมวกกันน็อก Trek Solstice Asia Fit",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41409",
"name": "ชุดบันไดแบน Trek Line Elite",
"price": "2200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "37803",
"name": "Bontrager Pro Blendr MTB Knock Block",
"price": "1900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "68827",
"name": "ถ้วยคอด้านบน Trek Angle-Adjust 2.0 1 องศา",
"price": "1800.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47384",
"name": "Trek Aero RSL Barstem Pro Blendr Mount",
"price": "1750.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greydark",
"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": "35809",
"name": "Bontrager Line Comp Flat Pedal Set",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "greenvisibility",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41416",
"name": "เทปพันแฮนด์จักรยาน Trek EcoTack",
"price": "1400.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "24758",
"name": "แคลมป์ยึดหลักอานแบบปลดเร็ว Bontrager Eyeleted",
"price": "750.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "47143",
"name": "ที่ใส่ขวดน้ำรีไซเคิลแบบโหลดด้านขวา Trek",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"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": 16
}
,
{
"id": "47140",
"name": "ขากระติกน้ำรีไซเคิล Trek Elite",
"price": "620.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "30977",
"name": "ชุดบันไดเด็ก Trek Kids' Platform ขนาดเล็ก",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "30971",
"name": "ชุดแป้นเหยียบขนาดใหญ่สำหรับเด็ก Trek",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "30975",
"name": "Trek Kids' Single Speed Grip Set",
"price": "375.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "08427",
"name": "แคลมป์ยึดเบาะจักรยานแบบมีรู Bontrager",
"price": "500.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "33213",
"name": "ชุดน็อตยึดเกราะมอเตอร์ Trek 2020 Powerfly HT",
"price": "250.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "greylight",
"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": "12278",
"name": "Trek Kids' MTB Grip Set",
"price": "300.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}