ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Google Analytics สำหรับเว็บไซต์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้อธิบาย Google Analytics สําหรับเว็บไซต์ และสิ่งที่คุณต้องทําเพื่อเริ่มต้นใช้งาน
Google Analytics วัดเหตุการณ์เพื่อช่วยให้คุณทราบเกี่ยวกับประสิทธิภาพ เช่น คุณสามารถใช้ Google Analytics เพื่อวัดการเข้าชมเว็บ ข้อมูลเชิงลึกเกี่ยวกับ
กลุ่มเป้าหมาย และวิธีที่กลุ่มเป้าหมายโต้ตอบกับเว็บไซต์
ตั้งค่าบัญชี
ต่อไปนี้คือภาพรวมของขั้นตอนในการตั้งค่าบัญชี Google Analytics เพื่อการเก็บรวบรวมข้อมูล
- หากยังไม่มีบัญชี ให้สร้างบัญชี Google Analytics
- หลังจากสร้างบัญชีแล้ว ให้สร้างพร็อพเพอร์ตี้ใหม่
พร็อพเพอร์ตี้เปรียบเสมือนคอนเทนเนอร์ที่เก็บข้อมูลที่คุณรวบรวม
- เมื่อสร้างพร็อพเพอร์ตี้ใหม่แล้ว ให้เพิ่มสตรีมข้อมูลเว็บ
ที่ส่งข้อมูลจากเว็บไซต์ไปยังพร็อพเพอร์ตี้
ติดแท็กเว็บไซต์
เมื่อมีบัญชี Google Analytics ที่มีสตรีมข้อมูลเว็บแล้ว คุณก็พร้อมที่จะติดแท็กเว็บไซต์และเริ่มรวบรวมข้อมูล
เราขอแนะนำให้คุณใช้ Google Tag Manager Tag Manager ช่วยให้คุณเปลี่ยนแปลงการกำหนดค่าการติดแท็กและส่งไปยังเว็บไซต์ได้โดยอัตโนมัติโดยไม่ต้องเปลี่ยนโค้ดทุกครั้ง
ดูข้อมูลเกี่ยวกับตัวเลือกการติดแท็กอื่นๆ ได้ที่การติดแท็ก
สําหรับ Google Analytics
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-04 UTC
[null,null,["อัปเดตล่าสุด 2025-08-04 UTC"],[],[],null,["# Google Analytics for websites\n\nThis page explains Google Analytics for websites, and what you need to do to get\nstarted.\n\nGoogle Analytics measures events to help you learn about your performance. For\nexample, you can use Google Analytics to measure web traffic, insights about\nyour audience, and how they interact with your website.\n| **Tip:** Before you begin, read about the [tagging options for\n| developers](/analytics/devguides/collection/ga4/tag-options).\n\nSet up your account\n-------------------\n\nHere's an overview of the steps to set up your Google Analytics account for data\ncollection:\n\n1. If you don't already have one, [create a Google Analytics\n account](//support.google.com/analytics/answer/9304153#account).\n2. After creating an account, [create a new\n property](//support.google.com/analytics/answer/9304153#property&zippy=%2Cweb). Properties are like containers that hold the data you collect.\n3. Once you've created a new property, [add a web data stream](//support.google.com/analytics/answer/9304153#stream&zippy=%2Cweb) that sends the data from your website to the property.\n\nTag your website\n----------------\n\nOnce you have a Google Analytics account with a web data stream, you're ready to\ntag your site and start collecting data.\n\nWe recommend that you [use Google Tag\nManager](//support.google.com/tagmanager/answer/14842164). With\nTag Manager, you can make changes to your tagging configuration and push them to\nyour site automatically, without needing to change your code every time.\n\nFor information on other tagging options, see [tagging\nfor Google Analytics](/analytics/devguides/collection/ga4/tag-options)."]]