Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
アプリ向け Google アナリティクス
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページでは、アプリ向け Google アナリティクスと、利用を開始するために必要な手順について説明します。
Google アナリティクスでは、パフォーマンスを把握するためにイベントを測定します。たとえば、Google アナリティクスを使用して、エンゲージメント、ユーザーに関する分析情報、ユーザーがアプリをどのように操作しているかを測定できます。
アカウントを設定する
Google アナリティクス アカウントでデータ収集を設定する手順の概要は次のとおりです。
- Google アナリティクス アカウントをまだお持ちでない場合は、アカウントを作成します。
- アカウントを作成したら、新しいプロパティを作成します。プロパティは、収集したデータを保持するコンテナのようなものです。
- 新しいプロパティを作成したら、アプリからプロパティにデータを送信するアプリ データ ストリームを追加します。
アプリにタグを付ける
アプリに Google アナリティクスを追加してイベントのロギングを開始するには、Firebase を使用します。
Firebase は、Google の統合アプリ デベロッパー プラットフォームです。Firebase SDK では、基本的なアプリ使用状況データが自動的に収集されます。追加のコードを記述する必要はありません。測定できる項目の例は次のとおりです。
- アプリが開かれた回数。
- アプリ内購入が行われた頻度。
- 一定の期間のアクティブ ユーザー数。
複数のプラットフォームにわたる測定には、Measurement Protocol を使用します。まず、Google アナリティクスにアプリのイベントを送信する Codelab をお試しください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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)."]]