This article is about Universal Analytics, which is going away. It's critical that you migrate your Universal Analytics property settings to Google Analytics 4, or you will begin to lose data on July 1, 2023 (July 1, 2024 for Analytics 360 properties). Learn how to migrate your settings.

[GA4] Set up data collection for an app

This article is for mobile app owners who have already set up a Google Analytics 4 property and an app data stream. If you have not yet done this, read these instructions. To set up data collection for a website, read these instructions.

To start collecting basic app-usage data, add the Google Analytics for Firebase (GA4F) SDK to your app (iOS or Android).

The GA4F SDK includes the Play Install Referrer API. As long as your Android app has the SDK implemented, the client can append the utm_source and utm_medium in the referrer.

With the SDK in place, a number of events are collected automatically. You also have the option to collect any recommended events that are relevant to your business. Use the logEvent method to define and collect up to 500 different events, with no limit on total volume.

Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

Clear search
Close search
Google apps
Main menu
Search Help Center