if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "48049",
"name": "แฮนด์อินทิเกรต Trek Aero RSL Road",
"price": "20000.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13661",
"name": "แฮนด์/สเต็มอินทิเกรต Trek Madone KVF Aero",
"price": "19000.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "14500.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47609",
"name": "ฝาครอบลูกปืนถ้วยคอตัวบนสำหรับแฮนด์สเต็ม Trek Aero RSL - แบบต่ำ",
"price": "675.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48102",
"name": "ฝาครอบบนตลับลูกปืนบาร์สเตม Trek Aero RSL",
"price": "275.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48103",
"name": "สเปเซอร์ถ้วยคอบาร์สเต็ม Trek Aero RSL",
"price": "200.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48104",
"name": "ฝาปิดด้านบนแฮนด์อินทิเกรต Trek Aero RSL",
"price": "200.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41756",
"name": "ชุดแฮนด์สเต็ม Trek Madone SLR Gen 7",
"price": "29900.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34815",
"name": "ฝาครอบเดินสาย Trek Aeolus BarStem",
"price": "2825.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42042",
"name": "ฝาปิดลูกปืนถ้วยคอสำหรับแฮนด์อินทิเกรต Trek 2023 Madone SLR Gen 7",
"price": "225.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}