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": "44661",
"name": "หมวกนิรภัยจักรยาน Trek Ballista Mips Asia Fit Road",
"price": "8500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49608",
"name": "อานจักรยาน Trek Aeolus RSL AirLoom",
"price": "16500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46175",
"name": "ขวดน้ำ RSL Aero และตะแกรงเก็บขวดน้ำ",
"price": "2900.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "52233",
"name": "Trek Aeolus Pro AirLoom Bike Saddle",
"price": "12000.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45274",
"name": "รองเท้าเสือหมอบ Trek Circuit",
"price": "8000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44797",
"name": "ไฟท้ายจักรยานเรดาร์ Trek CarBack",
"price": "7500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "52248",
"name": "อานจักรยาน Trek Aeolus Elite",
"price": "3750.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "46167",
"name": "Trek RSL Aero ขวดน้ำ",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36036",
"name": "รองเท้าขี่จักรยาน Trek RSL Knit",
"price": "25000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "black_gold",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35040",
"name": "รองเท้าขี่จักรยาน Trek RSL Road Cycling Shoe",
"price": "17000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white_greylight",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "34133",
"name": "Trek Velocis Road Cycling Shoe",
"price": "15000.0",
"brand": "Trek",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "13869",
"name": "Bontrager Hilo Pro Carbon Bike Saddle",
"price": "7900.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37123",
"name": "หมวกกันน็อกเสือหมอบ Trek Ballista Mips",
"price": "7900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "42018",
"name": "ฐาน Blendr Duo และเมาท์ไมล์ Bontrager Speed Concept",
"price": "5900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "42017",
"name": "Bontrager Speed Concept Blendr Mono Base และที่ยึดคอมพิวเตอร์",
"price": "5000.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "13909",
"name": "แฮนด์แอโร Bontrager Speed Concept Base (ไม่ผ่านกฎ UCI)",
"price": "15500.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "13910",
"name": "Bontrager Speed Concept Base UCI Legal Aero Handlebar",
"price": "15500.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "41724",
"name": "Trek TT โมโนส่วนขยาย ปลั๊กอิน",
"price": "6750.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "41723",
"name": "แอโรบาร์ Trek TT Mono Extension",
"price": "6750.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "30032",
"name": "Trek TT Mono Ergo ส่วนขยาย",
"price": "6750.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "37361",
"name": "ชุดตัวกั้นระยะแฮนด์ Trek Speed Concept",
"price": "6590.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "41559",
"name": "ชุดขวดน้ำ Trek Speed Concept SLR BTA ขนาด 26 ออนซ์",
"price": "4250.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "28830",
"name": "Bontrager Speed Concept Stem ระดับกลาง-ไกล",
"price": "3850.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}