Conversion measurement can help you to understand if user interactions effectively lead to valuable customer activity within your mobile app, such as in-app purchases, subscriptions, and sign-ups.
Mobile app conversions may be measured via Google Ads and Google Analytics 4.
Google Ads
To capture conversions in your Ads account, import events from your Google Analytics 4 property:
- Sign in to your Google Ads account.
- Click
in the upper-right corner of your account.
- Under the section labeled Measurement click Conversions.
- Click
.
- Select App from the list of conversion types.
- Click Google Analytics 4 (Firebase), then click Continue.
- Check the box next to each event you’d like to import, click Import.
- Click Done.
Learn more about Google Ads conversions.
Google Analytics 4
Google Analytics 4 properties enable unified measurement of user interactions and events across your website and mobile app. Google Analytics 4 collects many events by default, and some events are automatically marked as conversions. App data streams within Google Analytics 4 properties utilize the Firebase SDK to send events. Learn more about events.
Additionally, you can enable or turn off other automatically collected events, or mark custom events as conversions as well.
You can register an event as a conversion either before or after the event is sent.
To register an event before it is sent:
- In Analytics, navigate to the reports for your Google Analytics 4 property.
- Click Conversions.
- Click New conversion event.
- Enter the name of the event you want to identify as a conversion. Note: Make sure the event name you enter is exactly the same as the event that you are sending.
- Click Save.
If you’ve already sent the event previously and want to mark it as a conversion:
- In Analytics, navigate to the reports for your Google Analytics 4 property.
- Click All events.
- In the row for the event, turn on the switch in the Mark as conversion column.
To send a custom event, do the following:
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
}
];