if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "THB",
"impressions": [
{
"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": 1
}
,
{
"id": "12278",
"name": "Trek Kids' MTB Grip Set",
"price": "300.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "68827",
"name": "ถ้วยคอด้านบน Trek Angle-Adjust 2.0 1 องศา",
"price": "1800.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "30977",
"name": "ชุดบันไดเด็ก Trek Kids' Platform ขนาดเล็ก",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30971",
"name": "ชุดแป้นเหยียบขนาดใหญ่สำหรับเด็ก Trek",
"price": "625.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "38239",
"name": "แหวนรองค็อคพิท Trek 2022 Speed Concept",
"price": "100.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "30976",
"name": "ชุดจับแฮนด์แบบบิดเปลี่ยนเกียร์สำหรับเด็ก Trek",
"price": "350.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"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": 8
}
,
{
"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": 9
}
,
{
"id": "46151",
"name": "Madone SLR 9 AXS Gen 8",
"price": "399000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 10
}
,
{
"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": 11
}
,
{
"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": 12
}
,
{
"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": 13
}
,
{
"id": "46687",
"name": "Madone SLR 7 Gen 8",
"price": "269000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_blue",
"list": "CATEGORY",
"position": 14
}
,
{
"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": 15
}
,
{
"id": "57664",
"name": "Madone SL 7 Gen 8",
"price": "194000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "57662",
"name": "Madone SL 6 Gen 8",
"price": "179000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "46219",
"name": "Madone SL 6 Gen 8",
"price": "179000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 18
}
,
{
"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": 19
}
,
{
"id": "56308",
"name": "Fuel EX 8 Gen 7",
"price": "149000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "135000.0",
"brand": "Trek",
"category": "Checkpoint",
"variant": "black_grey",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "56310",
"name": "Fuel EX 5 Gen 7",
"price": "99000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "57653",
"name": "Madone SL 5 Gen 8",
"price": "99000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 23
}
,
{
"id": "47224",
"name": "Procaliber 9.6 Gen 3",
"price": "92000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_tealdark",
"list": "CATEGORY",
"position": 24
}
]
}
});
} else {
console.log("dataLayer");
}