if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "26580",
"name": "แดมเปอร์ Trek Madone SLR IsoSpeed",
"price": "1325.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44372",
"name": "ฝาครอบพอร์ตชาร์จ Trek 2023 Powerfly HT",
"price": "1250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38054",
"name": "ฝาครอบ IsoSpeed Trek 2022 Boone",
"price": "1250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44373",
"name": "ฝาครอบพอร์ตชาร์จ Trek 2023 Powerfly FS",
"price": "1250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44374",
"name": "ฝาปิดช่องชาร์จอลูมิเนียม Trek 2023 Rail 29",
"price": "1250.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greydark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "46157",
"name": "ฝาครอบถ้วยคอด้านบน Trek Checkpoint SLR",
"price": "1200.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "teal",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42226",
"name": "Trek 2018-2021 Boone IsoSpeed Headtube Cover",
"price": "1025.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "24113",
"name": "ฝาปิดช่อง Control Center Trek Checkpoint ปี 2021",
"price": "1050.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32238",
"name": "ฝาครอบ Trek 2020 Domane SLR IsoSpeed",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32199",
"name": "ฝาครอบคิ้ว Trek 2020 Domane SL",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "34011",
"name": "ฝาครอบส่วนบน Trek 2021 Domane SLR",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "white",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41294",
"name": "Trek Domane SL 7 ประตูเก็บของที่ท่อล่าง",
"price": "900.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35919",
"name": "Trek 2022 Domane SL ฝาครอบ IsoSpeed ด้านหลัง",
"price": "825.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32237",
"name": "Trek 2020 Domane SL IsoSpeed Cover",
"price": "825.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41861",
"name": "Trek 2023 Fuel EX 29 Carbon XS-S แผ่นกันกระแทกท่อล่าง",
"price": "725.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "63552",
"name": "เกราะป้องกันสะพานบาร์หลังล่าง Trek Fuel Gen 7",
"price": "710.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "63554",
"name": "แผงป้องกันแกนเชื่อมตะเกียบเฉียง Trek Fuel+ Gen 2",
"price": "710.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "14819",
"name": "ฝาครอบช่อง Control Center สำหรับ Trek Domane SL",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "42227",
"name": "Trek 2018-2021 Boone IsoSpeed Downtube Cover",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "14601",
"name": "Trek Domane Control Center",
"price": "625.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "42221",
"name": "ฝาครอบท่อล่าง Trek 2018 Domane IsoSpeed",
"price": "525.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "40608",
"name": "อุปกรณ์จับยึดชุบแข็งจาก Trek",
"price": "325.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "gold",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "47304",
"name": "แผ่นกันกระแทกท่อล่างส่วนล่าง Trek 2025 Procaliber",
"price": "350.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "white",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "32906",
"name": "เกราะกันกระแทกมอเตอร์ Trek Powerfly HT",
"price": "325.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}