if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "42278",
"name": "หลักอาน Trek Speed Concept SLR",
"price": "17500.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36135",
"name": "เสาหลักอาน Trek Madone SL",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26638",
"name": "Trek Madone SLR เสาอาน",
"price": "15000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30668",
"name": "ฝาครอบหลักอานด้านใน Trek Domane SLR คาร์บอน",
"price": "11000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "red",
"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": "24997",
"name": "Trek Madone SLR Carbon ฝาครอบเสานั่งแบบภายใน",
"price": "10000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47895",
"name": "ลิ้นซับแรง Trek Checkmate SLR IsoSpeed",
"price": "8750.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "11255",
"name": "ฝาครอบเสาคาร์บอน Trek & หูกลมขนาด 7 มม.",
"price": "6000.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34015",
"name": "หมวกคาร์บอนแบบด้านสีตรงรุ่น Trek พร้อมหูกลมขนาด 7 มม.",
"price": "4500.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "22439",
"name": "ฝาครอบเสานั่งอะลูมิเนียม Trek Round พร้อมหูยึดขนาด 7 มม.",
"price": "2425.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "14365",
"name": "Trek Domane SLR IsoSpeed Seatmast Slider",
"price": "1000.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "31789",
"name": "น็อต/แหวนรองปรับระดับเสาอาน Trek Domane",
"price": "900.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "grey",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "31851",
"name": "Trek Domane SLR IsoSpeed Seatmast Bumper",
"price": "150.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "31786",
"name": "Trek Domane สลักเกลียวแกนเบาะปรับระดับได้",
"price": "75.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "27250",
"name": "ฝาครอบหลักอานคาร์บอน Trek Ultra-light ทรงกลม & ประกับ 10 มม.",
"price": "7000.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
]
}
});
} else {
console.log("dataLayer");
}