ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
Google Analytics สำหรับแอป
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หน้านี้อธิบาย Google Analytics สําหรับแอป และสิ่งที่คุณต้องทําเพื่อเริ่มต้นใช้งาน
Google Analytics วัดเหตุการณ์เพื่อช่วยให้คุณทราบเกี่ยวกับประสิทธิภาพ ตัวอย่างเช่น คุณสามารถใช้ Google Analytics เพื่อวัดการมีส่วนร่วม ข้อมูลเชิงลึกเกี่ยวกับผู้ชม และวิธีที่ผู้ชมโต้ตอบกับแอป
ตั้งค่าบัญชี
ต่อไปนี้คือภาพรวมของขั้นตอนในการตั้งค่าบัญชี Google Analytics เพื่อการเก็บรวบรวมข้อมูล
- หากยังไม่มีบัญชี ให้สร้างบัญชี Google Analytics
- หลังจากสร้างบัญชีแล้ว ให้สร้างพร็อพเพอร์ตี้ใหม่
พร็อพเพอร์ตี้เปรียบเสมือนคอนเทนเนอร์ที่เก็บข้อมูลที่คุณรวบรวม
- เมื่อสร้างพร็อพเพอร์ตี้ใหม่แล้ว ให้เพิ่มสตรีมข้อมูลแอป
ที่ส่งข้อมูลจากแอปไปยังพร็อพเพอร์ตี้
ติดแท็กแอปของคุณ
หากต้องการเพิ่ม Google Analytics ลงในแอปและเริ่มบันทึกเหตุการณ์ ให้ใช้ Firebase
Firebase คือแพลตฟอร์มผสานรวมของ Google สำหรับนักพัฒนาแอป Firebase SDK
จะรวบรวมข้อมูลพื้นฐานเกี่ยวกับการใช้งานแอปให้คุณโดยอัตโนมัติ โดยที่คุณไม่ต้องเขียนโค้ดเพิ่มเติม ตัวอย่างสิ่งที่คุณวัดได้มีดังนี้
- จำนวนครั้งที่มีผู้เปิดแอป
- ความถี่ที่มีการซื้อในแอป
- จำนวนผู้ใช้ที่ใช้งานอยู่ในช่วงระยะเวลาหนึ่ง
สําหรับการวัดผลในหลายแพลตฟอร์ม ให้ใช้ Measurement
Protocol หากต้องการเริ่มต้นใช้งาน ให้ลองใช้
Codelab ส่งเหตุการณ์ในแอปไปยัง Google Analytics
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-04 UTC
[null,null,["อัปเดตล่าสุด 2025-08-04 UTC"],[[["\u003cp\u003eIntegrate Google Analytics into your app using Firebase for event logging.\u003c/p\u003e\n"],["\u003cp\u003eUtilize the Measurement Protocol for cross-platform data collection and analysis.\u003c/p\u003e\n"],["\u003cp\u003eExplore the "Send app events to Google Analytics" codelab for practical implementation guidance.\u003c/p\u003e\n"]]],["The core content focuses on integrating Google Analytics for app event tracking. To do this, use Firebase for adding Google Analytics and logging events. For tracking across various platforms, utilize the Measurement Protocol. A codelab is provided as a starting point, guiding users through sending app events to Google Analytics. This enables users to effectively measure and analyze app activity across multiple platforms.\n"],null,["# Google Analytics for apps\n\nThis page explains Google Analytics for apps, 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 engagement, insights about your\naudience, and how they interact with your app.\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). Properties are like containers that hold the data you collect.\n3. Once you've created a new property, [add an app data stream](//support.google.com/analytics/answer/9304153#stream&zippy=%2Cios-app-or-android-app) that sends the data from your app to the property.\n\nTag your app\n------------\n\nTo add Google Analytics to your app and begin logging events, use\n[Firebase](//firebase.google.com/docs/analytics/get-started).\n\nFirebase is Google's integrated app-developer platform. The Firebase SDK\ncollects basic app-usage data for you automatically, without the need to write\nany additional code. Here are some examples of what you can measure:\n\n- How many times your app was opened.\n- How often in-app purchases were made.\n- How many users were active during a certain period of time.\n\nMeasure additional platforms\n----------------------------\n\nFor measurement across multiple platforms, use the [Measurement\nProtocol](/analytics/devguides/collection/protocol/ga4). To get started, try our\n[Send app events to Google Analytics\ncodelab](//firebase.google.com/codelabs/firebase_mp#0)."]]