[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?
true
Choose your own learning path

Check out google.com/analytics/learn, a new resource to help you get the most out of Google Analytics 4. The new website includes videos, articles, and guided flows, and provides links to the Google Analytics Discord, Blog, YouTube channel, and GitHub repository.

Start learning today!

Search
Clear search
Close search
Main menu
2127334497886068982
true
Search Help Center
true
true
true
true
true
69256
true
false