if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "47148",
"name": "กระเป๋าทรงสามเหลี่ยม Trek Adventure",
"price": "4000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "58133",
"name": "ชุดบังโคลน Trek NCS",
"price": "2900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "45581",
"name": "กระเป๋าใต้อาน Trek",
"price": "1100.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48830",
"name": "ชุดจับแฮนด์จักรยานเสือภูเขา Trek Line Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44093",
"name": "หมวกกันน็อค Trek Velocis Mips Asia Fit",
"price": "10500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44661",
"name": "หมวกนิรภัยจักรยาน Trek Ballista Mips Asia Fit Road",
"price": "8500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "46175",
"name": "ขวดน้ำ RSL Aero และตะแกรงเก็บขวดน้ำ",
"price": "2900.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "white_grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "49104",
"name": "ที่ใส่ขวดน้ำ Trek Pro",
"price": "2500.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "44116",
"name": "หมวกกันน็อก Trek Solstice Asia Fit",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "42203",
"name": "หมวกกันน็อกจักรยานสำหรับเยาวชน Trek Tyro",
"price": "2200.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "pinklight_pink",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "37803",
"name": "Bontrager Pro Blendr MTB Knock Block",
"price": "1900.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "47384",
"name": "Trek Aero RSL Barstem Pro Blendr Mount",
"price": "1750.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "41416",
"name": "เทปพันแฮนด์จักรยาน Trek EcoTack",
"price": "1400.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "47143",
"name": "ที่ใส่ขวดน้ำรีไซเคิลแบบโหลดด้านขวา Trek",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "47144",
"name": "Trek Left Side Load Recycled Water Bottle Cage",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "47140",
"name": "ขากระติกน้ำรีไซเคิล Trek Elite",
"price": "620.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "44797",
"name": "ไฟท้ายจักรยานเรดาร์ Trek CarBack",
"price": "7500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "47147",
"name": "กระเป๋าติดเฟรม Trek Adventure",
"price": "6000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "40249",
"name": "หมวกกันน็อก Trek Circuit WaveCel",
"price": "5500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tealdark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "59508",
"name": "Trek Ion Pro RT ไฟหน้าจักรยาน",
"price": "5500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "41411",
"name": "Trek Pro BITS อุปกรณ์อเนกประสงค์",
"price": "3500.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "49717",
"name": "Trek Air Rush Electric Pump",
"price": "2900.0",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"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": 23
}
]
}
});
} else {
console.log("dataLayer");
}