行動標記簡介
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
透過 Google 代碼管理工具,您可以在行動應用程式中設定資料收集。
您可以利用代碼管理工具修改應用程式設定方式,不必重建應用程式程式碼並重新提交給應用程式市集。在多數情況下,使用「代碼管理工具」時,您不需要編寫任何程式碼。
事前準備
您必須先設定 Google Analytics for Firebase SDK,才能將應用程式資料傳送至 Google Analytics (分析),才能在行動應用程式中使用代碼管理工具。您也可以將應用程式資料傳送至與 Google Analytics (分析) 整合的產品。安裝 SDK 後,您可以使用代碼管理工具修改資料收集設定。
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-02-06 (世界標準時間)。
[null,null,["上次更新時間:2024-02-06 (世界標準時間)。"],[[["\u003cp\u003eGoogle Tag Manager enables mobile app data collection without requiring code changes or app rebuilds.\u003c/p\u003e\n"],["\u003cp\u003eSetting up Google Analytics for Firebase SDK is a prerequisite for using Tag Manager in mobile apps, allowing data transmission to Google Analytics and other integrated products.\u003c/p\u003e\n"],["\u003cp\u003eTag Manager simplifies data collection modification after the SDK installation.\u003c/p\u003e\n"]]],["Google Tag Manager enables data collection setup in mobile apps without recoding or resubmitting to marketplaces. It largely eliminates the need for coding. Before using Tag Manager, the Google Analytics for Firebase SDK must be set up to transmit app data to Google Analytics and integrated products. Once the SDK is installed, Tag Manager can be used to modify the app's data collection configuration. Further resources on Google Tag Manager are provided for Android and iOS.\n"],null,["# Introduction to mobile tagging\n\nYou can set up data collection in a mobile app through Google Tag Manager.\nTag Manager allows you to modify the way you set up your app without needing to\nrebuild and resubmit the app code to app marketplaces. Most of the time, you\nwon't need to write a single line of code when you use Tag Manager.\n\nBefore you begin\n----------------\n\nBefore you can use Tag Manager in your mobile app, set up the\n[Google Analytics for Firebase SDK](https://firebase.google.com/docs/analytics),\nwhich enables you to send app data to Google Analytics. You can also send\nyour app data to the products you integrate with Google Analytics. Once you\ninstall the SDK, you can use Tag Manager to modify your data collection setup.\n\nNext steps\n----------\n\n- [Google Tag Manager for Android](/tag-platform/tag-manager/android/v5)\n- [Google Tag Manager for iOS](/tag-platform/tag-manager/ios/v5)"]]