if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "42278",
"name": "หลักอาน Trek Speed Concept SLR",
"price": "17500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36135",
"name": "เสาหลักอาน Trek Madone SL",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26638",
"name": "Trek Madone SLR เสาอาน",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41991",
"name": "หลักอานแบบ Seatmast อะไหล่ Trek 2023 Madone SL",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30668",
"name": "ฝาครอบหลักอานด้านใน Trek Domane SLR คาร์บอน",
"price": "11000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "61079",
"name": "ฝาปิดช่องเก็บของสำหรับเฟรมอะลูมิเนียม Trek Fuel 7",
"price": "10553.84",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30477",
"name": "Trek Madone SL Carbon ฝาครอบเสานั่งภายใน",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24997",
"name": "Trek Madone SLR Carbon ฝาครอบเสานั่งแบบภายใน",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "42049",
"name": "ลิ้นล็อค IsoSpeed Trek Domane MKIV",
"price": "9000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "47895",
"name": "ลิ้นซับแรง Trek Checkmate SLR IsoSpeed",
"price": "8750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37903",
"name": "ซางตะเกียบ Trek Fetch+ 4 พร้อมจานบังคับเลี้ยว",
"price": "8075.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "45594",
"name": "แผงกันกระแทกและรางโซ่ MRP MXg สำหรับ Trek 2024 Slash",
"price": "7500.0",
"brand": "Trek",
"category": "Bike chain guides",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "44371",
"name": "Trek 2023 Rail 29 โครงอลูมิเนียม ฝาครอบแบตเตอรี่",
"price": "7000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "teal_greydark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "36982",
"name": "Trek Speed Concept Small Gen 2 ฝาครอบเบรกหน้า",
"price": "6550.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "61076",
"name": "ฝาครอบประตูเก็บของ Trek Fuel Carbon เฟรมรุ่นที่ 7",
"price": "6055.48",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "green",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "11255",
"name": "ฝาครอบเสาคาร์บอน Trek & หูกลมขนาด 7 มม.",
"price": "6000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36983",
"name": "Trek Speed Concept X-Small/Medium Gen 2 ฝาครอบเบรกหน้า",
"price": "5750.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "48285",
"name": "ฝาปิดช่องเก็บของ Trek Top Fuel 29 Gen 6 - รุ่นคาร์บอน",
"price": "5500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "gold",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "48286",
"name": "ฝาปิดช่องเก็บของ Trek Top Fuel 29 Gen 6 - รุ่นอะลูมิเนียม",
"price": "5500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "tan",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37002",
"name": "Trek Speed Concept X-Small/Medium Gen 1 Front Brake Cover",
"price": "4750.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "37004",
"name": "Trek Speed Concept X-Large Gen 1 Front Brake Cover",
"price": "4750.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "44370",
"name": "ฝาครอบแบตเตอรี่ Trek 2023 Powerfly HT/FS",
"price": "4750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "tan",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "36981",
"name": "Trek Speed Concept X-Large Gen 2 Front Brake Cover",
"price": "4750.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "37003",
"name": "Trek Speed Concept Large Gen 1 Front Brake Cover",
"price": "4750.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}