if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"id": "52254",
"name": "ล้อ Bontrager Line Pro 30 TLR Boost 29 MTB",
"price": "22500.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "52253",
"name": "ล้อเสือภูเขา Bontrager Line Pro 30 TLR Boost 27.5",
"price": "22500.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "52234",
"name": "อานจักรยาน Trek Aeolus Elite AirLoom",
"price": "8500.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "84491",
"name": "เสื้อเจอร์ซี่สำหรับปั่นจักรยาน หมายเลข 76 ของ Trek",
"price": "6000.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "bluedark_gold",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41485",
"name": "หลักอานปรับระดับ Bontrager Line 34.9",
"price": "7000.0",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "47148",
"name": "กระเป๋าทรงสามเหลี่ยม Trek Adventure",
"price": "4000.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "58133",
"name": "ชุดบังโคลน Trek NCS",
"price": "2900.0",
"brand": "Trek",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "45360",
"name": "กระเป๋าติดแฮนด์ Trek",
"price": "2200.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "45581",
"name": "กระเป๋าใต้อาน Trek",
"price": "1100.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "48830",
"name": "ชุดจับแฮนด์จักรยานเสือภูเขา Trek Line Comp",
"price": "750.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "81617",
"name": "Madone SLR 9 AXS Gen 8 - The First 50 ICON",
"price": "559000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "81696",
"name": "Madone SLR 9 AXS Gen 8 - No. 76 ICON",
"price": "559000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue_white",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "58885",
"name": "Supercaliber SLR 9.9 XX Flight Attendant Gen 2",
"price": "459000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "57334",
"name": "Supercaliber SLR 9.8 X0 Flight Attendant Gen 2",
"price": "409000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "56165",
"name": "Supercaliber SLR 9.9 XTR Di2 Gen 2",
"price": "387000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "59647",
"name": "Supercaliber SLR 9.8 X0 AXS T-Type Gen 2",
"price": "375000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "56287",
"name": "Supercaliber SLR 9.8 XT Di2 Gen 2",
"price": "349000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "58893",
"name": "Fuel EX 9.8 XT Di2 Gen 7",
"price": "237000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "reddark_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "229000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "81695",
"name": "Madone SL 7 Gen 8 - The First 50 Replica",
"price": "229000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_green",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "58932",
"name": "Fuel EX 9 XT Di2 Gen 7",
"price": "207000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "57662",
"name": "Madone SL 6 Gen 8",
"price": "179000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "56629",
"name": "Supercaliber SL 9.7 GX AXS Gen 2",
"price": "179000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "56308",
"name": "Fuel EX 8 Gen 7",
"price": "149000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}