if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "52254",
"name": "ล้อ Bontrager Line Pro 30 TLR Boost 29 MTB",
"price": "22500.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "52253",
"name": "ล้อเสือภูเขา Bontrager Line Pro 30 TLR Boost 27.5",
"price": "22500.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "52234",
"name": "อานจักรยาน Trek Aeolus Elite AirLoom",
"price": "8500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "84491",
"name": "เสื้อเจอร์ซี่สำหรับปั่นจักรยาน หมายเลข 76 ของ Trek",
"price": "6000.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "bluedark_gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "47148",
"name": "กระเป๋าทรงสามเหลี่ยม Trek Adventure",
"price": "4000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "58133",
"name": "ชุดบังโคลน Trek NCS",
"price": "2900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "45360",
"name": "กระเป๋าติดแฮนด์ Trek",
"price": "2200.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45581",
"name": "กระเป๋าใต้อาน Trek",
"price": "1100.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "48830",
"name": "ชุดจับแฮนด์จักรยานเสือภูเขา Trek Line Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "48049",
"name": "Trek Aero RSL Road Integrated Handlebar/Stem",
"price": "20000.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "42257",
"name": "Trek RSL Bike Saddle",
"price": "13900.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "44984",
"name": "เบาะจักรยาน Trek Verse Short Comp",
"price": "3000.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "23403",
"name": "เบาะจักรยาน Bontrager Commuter Fluid",
"price": "3000.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "46175",
"name": "ขวดน้ำ RSL Aero และตะแกรงเก็บขวดน้ำ",
"price": "2900.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "49104",
"name": "ที่ใส่ขวดน้ำ Trek Pro",
"price": "2500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "42203",
"name": "หมวกกันน็อกจักรยานสำหรับเยาวชน Trek Tyro",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "44116",
"name": "หมวกกันน็อก Trek Solstice Asia Fit",
"price": "2100.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "41409",
"name": "ชุดบันไดแบน Trek Line Elite",
"price": "2200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37803",
"name": "Bontrager Pro Blendr MTB Knock Block",
"price": "1900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"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": 21
}
,
{
"id": "27290",
"name": "น้ำยาซีลแลนท์ยาง Bontrager TLR",
"price": "1500.0",
"brand": "Bontrager",
"category": "Bike tires",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "44426",
"name": "ชุดบันไดแบน Trek Line Comp",
"price": "1500.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "35809",
"name": "Bontrager Line Comp Flat Pedal Set",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "purpledark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}