if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "44797",
"name": "ไฟท้ายจักรยานเรดาร์ Trek CarBack",
"price": "7500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47147",
"name": "กระเป๋าติดเฟรม Trek Adventure",
"price": "6000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47148",
"name": "กระเป๋าทรงสามเหลี่ยม Trek Adventure",
"price": "4000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41411",
"name": "Trek Pro BITS อุปกรณ์อเนกประสงค์",
"price": "3500.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44800",
"name": "Trek Ion 100 R/Flare R City Bike Light Set",
"price": "2900.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "58133",
"name": "ชุดบังโคลน Trek NCS",
"price": "2900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "2900.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "62368",
"name": "Trek Adjustable Multi-Mount Offsetting Water Bottle Cage",
"price": "2842.37",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "brown",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44751",
"name": "Trek Elite BITS มัลติทูล",
"price": "2500.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45360",
"name": "กระเป๋าติดแฮนด์ Trek",
"price": "2200.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44798",
"name": "ไฟท้ายจักรยาน Trek Flare R City",
"price": "1500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "44799",
"name": "ไฟหน้าจักรยาน Trek Ion 100 R ด้านหน้า",
"price": "1500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "47225",
"name": "กระเป๋าเครื่องมือ Trek BITS",
"price": "1300.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47226",
"name": "กระเป๋าใส่ท่อ Trek BITS",
"price": "1000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "48831",
"name": "ชุดปลอกแฮนด์ Trek Line Elite MTB",
"price": "1000.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "48830",
"name": "ชุดจับแฮนด์จักรยานเสือภูเขา Trek Line Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "46167",
"name": "Trek RSL Aero ขวดน้ำ",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "48901",
"name": "ชุดแฮนด์จับจักรยานเสือภูเขา Trek Ergonomic Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47140",
"name": "ขากระติกน้ำรีไซเคิล Trek Elite",
"price": "620.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "37801",
"name": "อะแดปเตอร์ Bontrager Pro Blendr Wahoo",
"price": "325.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "34588",
"name": "หมวกนิรภัย Trek Velocis Mips",
"price": "10500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "44093",
"name": "หมวกกันน็อค Trek Velocis Mips Asia Fit",
"price": "10500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "33380",
"name": "Trek Domane+ Front Bike Light Assembly",
"price": "9900.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}