if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "58133",
"name": "ชุดบังโคลน Trek NCS",
"price": "2900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "83326",
"name": "ขวดน้ำ ขนาด 550 มล. ฉลองครบรอบ Trek 50 ปี",
"price": "370.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "21854",
"name": "Bontrager Dual Charger Floor Pump",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48110",
"name": "Trek BackRack MIK Bike Rack",
"price": "1900.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "21588",
"name": "เบาะจักรยาน Bontrager Commuter Comp",
"price": "1500.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14411",
"name": "Bontrager Elite Seat Pack",
"price": "1100.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25674",
"name": "ชุดติดตั้งแร็ค Bontrager Flare แบบรวดเร็ว",
"price": "250.0",
"brand": "Bontrager",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41347",
"name": "ฝาครอบแบตเตอรี่ Trek Allant+ BES3",
"price": "7175.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44371",
"name": "Trek 2023 Rail 29 โครงอลูมิเนียม ฝาครอบแบตเตอรี่",
"price": "7000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "teal_greydark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34547",
"name": "ฝาครอบแบตเตอรี่ RIB สำหรับ Trek Verve+ 4",
"price": "6125.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "32912",
"name": "ฝาครอบแบตเตอรี่ RIB สำหรับ Trek Verve+ 3",
"price": "5500.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33670",
"name": "ฝาครอบมอเตอร์ Trek Domane+ HP",
"price": "5375.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "34285",
"name": "ฝาครอบแบตเตอรี่ Trek 2021 Rail 29",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "brown",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37650",
"name": "Trek 2022 Rail 29 ฝาครอบแบตเตอรี่อะลูมิเนียม",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "grey_white",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "30970",
"name": "ฝาครอบแบตเตอรี่คาร์บอน Trek 2020-2021 Rail 29",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "red_black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "34290",
"name": "Trek 2021 Powerfly 29 Battery Cover",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "white_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "37360",
"name": "ฝาครอบแบตเตอรี่ Trek 2022-2023 Rail 29 Carbon 750W",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "reddark_bronze",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37359",
"name": "ฝาครอบแบตเตอรี่ Trek 2022-2023 Rail 29 Carbon 625W",
"price": "5000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "44370",
"name": "ฝาครอบแบตเตอรี่ Trek 2023 Powerfly HT/FS",
"price": "4750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "tan",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "45614",
"name": "ชุดกันโคลน Trek Wahoo Path",
"price": "4190.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "34145",
"name": "ฝาครอบแบตเตอรี่ Trek Allant+ 9",
"price": "4000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "31285",
"name": "ฝาครอบแบตเตอรี่ Trek Allant+ 8",
"price": "4000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "greydark_greenvisibility",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "34146",
"name": "ฝาครอบแบตเตอรี่ Trek Allant+ 9.9",
"price": "4000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "grey",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "34147",
"name": "ฝาครอบแบตเตอรี่ Trek Allant+ 7",
"price": "4000.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}