if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "30493",
"name": "ตัวเลื่อนบาร์เดี่ยวขนาด 6 มม. สำหรับ Trek Speed Concept",
"price": "275.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38232",
"name": "สลักเกลียวสำหรับฝาครอบน็อตชุดแฮนด์ Trek Speed Concept",
"price": "175.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14910",
"name": "Trek Madone Handlebar/Stem Pinchbolt Insert Nut",
"price": "225.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "42042",
"name": "ฝาปิดลูกปืนถ้วยคอสำหรับแฮนด์อินทิเกรต Trek 2023 Madone SLR Gen 7",
"price": "225.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41168",
"name": "โฟมรองฝาครอบแฮนด์ Trek Speed Concept ",
"price": "125.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34801",
"name": "Trek Aeolus Bar/Stem Routing Cover Foam",
"price": "25.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41169",
"name": "ช่องเก็บของที่แฮนด์ Trek Speed Concept พร้อมโฟม",
"price": "125.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "38028",
"name": "Trek 2022 Speed Concept Aero Barstem Cap Plug",
"price": "75.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "10311",
"name": "ปลั๊กแฮนด์ Bontrager IsoZone",
"price": "125.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "32593",
"name": "Trek Blendr สำหรับการติดตั้งกับแฮนด์/สเตมด้วยน็อต",
"price": "50.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}