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": "41409",
"name": "ชุดบันไดแบน Trek Line Elite",
"price": "2200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "47143",
"name": "ที่ใส่ขวดน้ำรีไซเคิลแบบโหลดด้านขวา Trek",
"price": "750.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45272",
"name": "รองเท้าเสือภูเขา Trek Foray",
"price": "9500.0",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "44797",
"name": "ไฟท้ายจักรยานเรดาร์ Trek CarBack",
"price": "7500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "47147",
"name": "กระเป๋าติดเฟรม Trek Adventure",
"price": "6000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40249",
"name": "หมวกกันน็อก Trek Circuit WaveCel",
"price": "5500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "tealdark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41411",
"name": "Trek Pro BITS อุปกรณ์อเนกประสงค์",
"price": "3500.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "44751",
"name": "Trek Elite BITS มัลติทูล",
"price": "2500.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "37801",
"name": "อะแดปเตอร์ Bontrager Pro Blendr Wahoo",
"price": "325.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "44492",
"name": "ล้อ Bontrager Aeolus Pro 37V Disc TLR สำหรับผิวทางปกติ",
"price": "39000.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "34588",
"name": "หมวกนิรภัย Trek Velocis Mips",
"price": "10500.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "37123",
"name": "หมวกกันน็อกเสือหมอบ Trek Ballista Mips",
"price": "7900.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "35560",
"name": "กระเป๋าใต้อาน Bontrager Adventure",
"price": "6500.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35559",
"name": "กระเป๋าติดแฮนด์ Bontrager Adventure",
"price": "6000.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "41406",
"name": "ชุดบันไดคลิปเลส Trek Kovee Elite",
"price": "4200.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "47358",
"name": "กระเป๋าติดท่อบน Trek Adventure",
"price": "2500.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "41448",
"name": "ไฟท้ายจักรยาน Trek Flare RT",
"price": "2500.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "21854",
"name": "Bontrager Dual Charger Floor Pump",
"price": "2500.0",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "red",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "48110",
"name": "Trek BackRack MIK Bike Rack",
"price": "1900.0",
"brand": "Trek",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "37802",
"name": "Bontrager Pro Blendr Alloy ที่ยึดคอมพิวเตอร์",
"price": "1250.0",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "40457",
"name": "Trek Blendr Fendr",
"price": "600.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}