if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "22889",
"name": "Trek Checkpoint ALR 700c Rigid Fork",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37994",
"name": "กระเดื่อง Trek Rail 29 ผิวเงา",
"price": "10000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44141",
"name": "Trek Domane MKIII ฝาครอบเสากลางภายในแบบด้าน สีตรงรุ่น",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33051",
"name": "หลักอาน Trek Domane+ HP",
"price": "10000.0",
"brand": "Trek",
"category": "E-bike drivetrain parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30477",
"name": "Trek Madone SL Carbon ฝาครอบเสานั่งภายใน",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37993",
"name": "กระเดื่อง Trek Rail 29 ผิวเงา",
"price": "10000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44140",
"name": "หมวกบังเสาภายในแบบเงา สีตรงรุ่น Trek Domane MKIII",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45155",
"name": "Trek Wahoo Trail 24˝ โช้คหน้าแข็งสำหรับเด็ก",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "24997",
"name": "Trek Madone SLR Carbon ฝาครอบเสานั่งแบบภายใน",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30963",
"name": "Trek Fuel EX 29 Rocker Link",
"price": "10000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "greendark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41322",
"name": "ตะเกียบแข็ง Trek 2023 Emonda SL 5 700c",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47830",
"name": "หลักอาน Trek Madone Gen 8",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "45154",
"name": "ตะเกียบแบบชิ้นเดียว Trek Wahoo Trail 20 นิ้ว สำหรับเด็ก",
"price": "10000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "45235",
"name": "ชุดล็อคแบบรีโมทคู่ SRAM TwistLoc Ultimate",
"price": "9990.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "13662",
"name": "หลักอานคาร์บอนแบบปรับละเอียด Trek Madone Aero",
"price": "9925.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "30969",
"name": "กระเดื่อง Trek Rail 29 ผิวเงา",
"price": "9600.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36052",
"name": "Trek 2022 เซสชั่น 29 ร็อกเกอร์ ลิงค์",
"price": "9550.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "white",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "38046",
"name": "Trek Slash Gen 5 Rocker Link - รุ่นอะลูมิเนียม",
"price": "9500.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "orange",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "32632",
"name": "ตะเกียบแบบชิ้นเดียว Trek 2020 Checkpoint AL 700c",
"price": "9500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "orange",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "31530",
"name": "ตะเกียบแบบชิ้นเดียว Trek-Diamant 2020-2022 Allant+ 7, 8, 9 700c",
"price": "9250.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "greydark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "48283",
"name": "กระเดื่องคาร์บอน Trek Top Fuel 29 Gen 6",
"price": "9000.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "gold",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "42049",
"name": "ลิ้นล็อค IsoSpeed Trek Domane MKIV",
"price": "9000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "47895",
"name": "ลิ้นซับแรง Trek Checkmate SLR IsoSpeed",
"price": "8750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}