モバイルアプリでのコンバージョンを測定する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
コンバージョン測定を使用すると、ユーザーの操作がモバイルアプリでの高価値なユーザー行動(アプリ内購入、サブスクリプション、登録など)に効果的につながっているかどうかを把握できます。
モバイルアプリ コンバージョンは、Google 広告と Google アナリティクス 4 で測定できます。
Google 広告
Google 広告アカウントでコンバージョン データを取得するには、次の方法で Google アナリティクス 4 プロパティからイベントをインポートします。
- Google 広告アカウントにログインします。
- アカウントの右上にある
をクリックします。
- [測定] で [コンバージョン] をクリックします。
をクリックします。
- コンバージョンの種類として [アプリ] を選択します。
- [Google アナリティクス 4 プロパティ(Firebase)] をクリックし、[続行] をクリックします。
- インポートするイベントの横にあるチェックボックスをオンにして、[インポートして続行] をクリックします。
- [完了] をクリックします。
Google 広告コンバージョンの詳細
Google アナリティクス 4
Google アナリティクス 4 プロパティを使用すると、ウェブサイトとモバイルアプリをまたぐユーザー操作とイベントの統合的な測定が可能になります。Google アナリティクス 4 では、多数のイベントがデフォルトで収集され、一部のイベントは自動的にコンバージョンとしてマークが付けられます。Google アナリティクス 4 プロパティのアプリデータ ストリームでは、Firebase SDK を使用してイベントを送信します。イベントの詳細
また、自動的に収集される他のイベントを有効または無効にすることや、カスタム イベントにコンバージョンとしてマークを付けることもできます。
イベントは、送信する前後にコンバージョンとして登録できます。
イベントを送信前にコンバージョンとして登録する方法は次のとおりです。
- アナリティクスで、Google アナリティクス 4 プロパティのレポートに移動します。
- [コンバージョン] をクリックします。
- [新しいコンバージョン イベント] をクリックします。
- コンバージョンとして指定するイベントの名前を入力します。注: 送信するイベント名を正確に入力してください。
- [保存] をクリックします。
送信済みのイベントにコンバージョンとしてマークを付ける場合は、次の手順を行います。
- アナリティクスで、Google アナリティクス 4 プロパティのレポートに移動します。
- [すべてのイベント] をクリックします。
- イベントの行で [コンバージョンとしてマークを付ける] 列のスイッチをオンにします。
カスタム イベントを送信する方法は次のとおりです。
Android: Java
Bundle params = new Bundle();
params.putString("image_name", name);
params.putString("full_text", text);
mFirebaseAnalytics.logEvent("share_image", params);
Android: Kotlin
firebaseAnalytics.logEvent("share_image") {
param("image_name", name)
param("full_text", text)
}
iOS: Swift
Analytics.logEvent("share_image", parameters: [
"name": name as NSObject,
"full_text": text as NSObject
])
iOS: Objective C
[FIRAnalytics logEventWithName: @ "share_image"
parameters: @ {
@ "name": name,
@ "full_text": text
}
];
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-02-06 UTC。
[null,null,["最終更新日 2024-02-06 UTC。"],[[["\u003cp\u003eKey event measurement allows you to track user interactions within your mobile app that lead to valuable customer actions like purchases and sign-ups.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Ads and Google Analytics 4 can be used to measure mobile app conversions and key events for analysis and optimization.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Analytics 4 provides unified measurement across your website and mobile app, collecting many events by default with the option to customize key events for specific tracking needs.\u003c/p\u003e\n"],["\u003cp\u003eYou can mark events as key events in Google Analytics 4 either before they are sent or retroactively after they have been recorded.\u003c/p\u003e\n"]]],["Key mobile app user activities, like purchases and sign-ups, can be measured as conversions in Google Ads and key events in Google Analytics 4. In Google Ads, import events from Google Analytics 4 by navigating to **Conversions** and selecting **App**. In Google Analytics 4, register events as key events by entering the event's exact name under **Key events** or marking the event under **All events**. Custom events can be sent via the Firebase SDK, as demonstrated with code examples for Android and iOS.\n"],null,["# Measure key events in mobile apps\n\nKey event measurement can help you to understand if user interactions\neffectively lead to valuable customer activity within your mobile app, such as\nin-app purchases, subscriptions, and sign-ups.\n\nMobile app conversions and key events may be measured in [Google Ads](#google_ads) and\n[Google Analytics 4](#google_analytics_4).\n\nGoogle Ads\n----------\n\nTo capture conversions in your Ads account, import events from your Google\nAnalytics 4 property:\n\n1. Sign in to your [Google Ads account](https://ads.google.com/).\n2. Click in the upper-right corner of your account.\n3. Under the section labeled **Measurement** click **Conversions**.\n4. Click .\n5. Select **App** from the list of conversion types.\n6. Click **Google Analytics 4 (Firebase)** , then click **Continue**.\n7. Check the box next to each event you'd like to import, click **Import**.\n8. Click **Done**.\n\n[Learn more about Google Ads conversions](https://support.google.com/google-ads/answer/6366292).\n\nGoogle Analytics 4\n------------------\n\nGoogle Analytics 4 properties enable unified measurement of user interactions\nand events across your website and mobile app. Google Analytics 4 collects many\nevents by default, and some events are automatically marked as key events. App\ndata streams within Google Analytics 4 properties utilize the [Firebase SDK](https://firebase.google.com/docs/guides) to\nsend events. [Learn more about events](https://developers.google.com/tag-platform/devguides/events).\n\nAdditionally, you can [enable or turn off](https://support.google.com/analytics/answer/9267568) other automatically collected events,\nor mark custom events as key events as well.\n\nYou can register an event as a key event either before or after the event is\nsent.\n\nTo register an event before it is sent:\n\n1. In Analytics, navigate to the reports for your Google Analytics 4 property.\n2. Click **Key events**.\n3. Click **New key event**.\n4. Enter the name of the event you want to identify as a key event. *Note:\n Make sure the event name you enter is exactly the same as the event that you\n are sending.*\n5. Click **Save**.\n\nIf you've already sent the event previously and want to mark it as a key event:\n\n1. In Analytics, navigate to the reports for your Google Analytics 4 property.\n2. Click **All events**.\n3. In the row for the event, turn on the switch in the **Mark as key event** column.\n\nTo send a custom event, do the following: \n\n### Android: Java\n\n Bundle params = new Bundle();\n params.putString(\"image_name\", name);\n params.putString(\"full_text\", text);\n mFirebaseAnalytics.logEvent(\"share_image\", params);\n\n### Android: Kotlin\n\n firebaseAnalytics.logEvent(\"share_image\") {\n param(\"image_name\", name)\n param(\"full_text\", text)\n }\n\n### iOS: Swift\n\n Analytics.logEvent(\"share_image\", parameters: [\n \"name\": name as NSObject,\n \"full_text\": text as NSObject\n ])\n\n### iOS: Objective-C\n\n [FIRAnalytics logEventWithName: @ \"share_image\"\n parameters: @ {\n @ \"name\": name,\n @ \"full_text\": text\n }\n ];"]]