โปรเจ็กต์ Accelerated Mobile Pages (AMP) เป็นแพลตฟอร์มเว็บแบบโอเพนซอร์สซึ่งช่วยปรับปรุงประสิทธิภาพของเนื้อหาเว็บ AMP มีการรองรับแท็ก Google และ Google Tag Manager ในตัว คู่มือนี้จะอธิบายวิธีตั้งค่า Google Analytics สำหรับหน้า AMP
การติดตั้ง
แท็ก Google ช่วยให้คุณติดตั้ง Google Analytics, Google Ads และผลิตภัณฑ์อื่นๆ ของ Google ในหน้า AMP ได้ Google Tag Manager จะสร้างคอนเทนเนอร์ AMP และช่วยให้คุณสร้างการกำหนดค่าขั้นสูงและใช้แท็กบุคคลที่สามจากอินเทอร์เฟซ Tag Manager ได้
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-02-06 UTC"],[],["The core content outlines setting up Google Analytics on Accelerated Mobile Pages (AMP). It details using the Google tag for Analytics and other Google products, or Google Tag Manager for advanced configurations and third-party tags, noting Tag Manager's incompatibility with Google Analytics 4. Troubleshooting involves using amptagtest.appspot.com or manually checking for consistent `cid` values across domains, ensuring `cid` and `gclid` are passed via URL decoration and are the same as initial values, while being cautious with redirects.\n"]]