if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "2900.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44800",
"name": "Trek Ion 100 R/Flare R City Bike Light Set",
"price": "2900.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "63403",
"name": "สูบตั้งพื้น Trek Dual Charger",
"price": "2700.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44751",
"name": "Trek Elite BITS มัลติทูล",
"price": "2500.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "45360",
"name": "กระเป๋าติดแฮนด์ Trek",
"price": "2200.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44799",
"name": "ไฟหน้าจักรยาน Trek Ion 100 R ด้านหน้า",
"price": "1500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44798",
"name": "ไฟท้ายจักรยาน Trek Flare R City",
"price": "1500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "63404",
"name": "สูบตั้งพื้น Trek Charger",
"price": "1400.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "47225",
"name": "กระเป๋าเครื่องมือ Trek BITS",
"price": "1300.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47226",
"name": "กระเป๋าใส่ท่อ Trek BITS",
"price": "1000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "48831",
"name": "ชุดปลอกแฮนด์ Trek Line Elite MTB",
"price": "1000.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "46167",
"name": "Trek RSL Aero ขวดน้ำ",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "48901",
"name": "ชุดแฮนด์จับจักรยานเสือภูเขา Trek Ergonomic Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "83326",
"name": "ขวดน้ำ ขนาด 550 มล. ฉลองครบรอบ Trek 50 ปี",
"price": "370.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "84428",
"name": "ขวดน้ำ Lidl-Trek Gatorade Team 550 มล.",
"price": "370.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "44490",
"name": "ยางจักรยานเสือภูเขา Bontrager Gunnison RSL XT TLR",
"price": "3500.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "44588",
"name": "ยางจักรยานเสือภูเขา Bontrager Brevard RSL SE TLR",
"price": "3500.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "44488",
"name": "ยางเสือภูเขา Bontrager Montrose RSL XT TLR",
"price": "3500.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "37985",
"name": "ยาง Bontrager Aeolus RSL TLR Road",
"price": "3500.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black_tan",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "44486",
"name": "ยางจักรยานเสือภูเขา Bontrager Sainte-Anne RSL XR TLR",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "44752",
"name": "ยางจักรยานเสือภูเขา Bontrager Vallnord RSL XR TLR",
"price": "2900.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "48531",
"name": "ยางเสือหมอบ Bontrager Kwaremont Pro TLR",
"price": "2750.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "49931",
"name": "ยางเสือหมอบ Bontrager Hard-Case Max Pro TLR",
"price": "2750.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}