if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "52234",
"name": "อานจักรยาน Trek Aeolus Elite AirLoom",
"price": "8500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "84491",
"name": "เสื้อเจอร์ซี่สำหรับปั่นจักรยาน หมายเลข 76 ของ Trek",
"price": "6000.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "bluedark_gold",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45360",
"name": "กระเป๋าติดแฮนด์ Trek",
"price": "2200.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "45581",
"name": "กระเป๋าใต้อาน Trek",
"price": "1100.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42257",
"name": "Trek RSL Bike Saddle",
"price": "13900.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44984",
"name": "เบาะจักรยาน Trek Verse Short Comp",
"price": "3000.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46175",
"name": "ขวดน้ำ RSL Aero และตะแกรงเก็บขวดน้ำ",
"price": "2900.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41409",
"name": "ชุดบันไดแบน Trek Line Elite",
"price": "2200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "37096",
"name": "ถุงมือปั่นจักรยาน Trek Velocis Dual Foam สำหรับทุกเพศ",
"price": "2000.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35809",
"name": "Bontrager Line Comp Flat Pedal Set",
"price": "1400.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "purpledark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41416",
"name": "เทปพันแฮนด์จักรยาน Trek EcoTack",
"price": "1400.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "49608",
"name": "อานจักรยาน Trek Aeolus RSL AirLoom",
"price": "16500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "48435",
"name": "รองเท้าเสือหมอบ Trek Velocis",
"price": "15000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "52233",
"name": "Trek Aeolus Pro AirLoom Bike Saddle",
"price": "12000.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "45274",
"name": "รองเท้าเสือหมอบ Trek Circuit",
"price": "8000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "44797",
"name": "ไฟท้ายจักรยานเรดาร์ Trek CarBack",
"price": "7500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "84133",
"name": "ครั้งแรกกับเสื้อเจอร์ซีย์ฉลองครบรอบ 50 ปีของ Trek",
"price": "6000.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "black_pinklight",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "52248",
"name": "อานจักรยาน Trek Aeolus Elite",
"price": "3750.0",
"brand": "Trek",
"category": "Bike saddles",
"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": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "2900.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"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": 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
}
,
{
"id": "48533",
"name": "ยางเสือหมอบ Bontrager Aeolus Pro TLR",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}