Google Analytics for Firebase
Google's free analytics SDK that gives every install an ID and logs automatic events.
In one line
Can give each install an ID and log your taps and screens for Google
Google's free analytics SDK that gives every install an ID and logs automatic events.
Builds an app-level event stream and links it to Google Ads and BigQuery. Also provides the identifiers Google ad products use.
What it can and can't do
What the user does: Nothing. It starts when the app opens and runs while you use it
It can
- Count sessions, screens and purchases for the developer
- Give each install its own ID that resets on reinstall (Android)
- Link to Google Ads and BigQuery reports
- Run with the developer ID only on iPhone, without tracking permission
It cannot
- Join you across other companies' apps without your yes on iPhone
- Use Google Signals on iPhone without consent
- Keep the same ID after you clear the app data or reinstall (Android)
How it differs between platforms: Android gives each install an app instance ID that resets on reinstall. iPhone can run with the developer ID alone.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Not available | Not available |
| Permission or entitlement | AD_ID (Android 13+), INTERNET | NSUserTrackingUsageDescription if IDFA, optional IDFV collection |
| Protection level | normal | prompt |
| How access is granted | install | prompt |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Not listed |
| How to take it back | Not listed | Not listed |
| Store policy | Data safety: app activity, device IDs; Consent Mode v2 | Privacy manifest; ATT when linking with ads |
| API | FirebaseAnalytics.logEvent, setConsent | FirebaseAnalytics |
| Notes | App instance ID resets on reinstall or data clear. | Can run with IDFV only; Google Signals needs consent. |
Data you get
What comes back: Event stream with app_instance_id
Shape: object
How often: continuous, batched
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
app_instance_id | string | None | Not listed | Not listed |
automatic events | list | None | first_open, session_start, screen_view | Not listed |
Technical limits
- EEA consent required for ads linking
- Data retention 2 or 14 months default
The story
What it is
Google's free tool that counts what people do in an app and links it to Google Ads.
For you
You never see it. It logs each time you open the app, how long you stay and what you tap, and gives your install a long random ID.
For makers
It builds an event stream per install and links it to Google Ads and BigQuery. Teams use it to find drop off points, test ideas and send audiences to ads, and it is free, so nearly every app has it.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A studio sees that 40 percent of players quit at level 3, so it makes the level easier. | Subway Surfers, Candy Crush |
| shopping | A retail app tracks how many users add to cart but never pay, then sends a reminder. | Zalando, Etsy |
| fitness | A running app measures which workout types people finish and which they skip. | Strava |
| ads | Google Ads uses the events to find similar users and judge which ads bring buyers. | Google Ads |
| media | A video app measures play time and tests a new recommendation row. | Netflix, Hulu |
| developer | A team ties crashes to a version using the same install ID and fixes the bug. | Crashlytics |
Risks
- Event stream per install
- Linked to ad accounts
Android and iPhone in short
- Android: On Android it can also use the advertising ID if the app has the AD_ID permission.
- iPhone: On iOS it respects ATT for IDFA and otherwise uses an app instance ID.
What the platform says
- Google: Google Analytics for Firebase. Free, unlimited event reporting that shows how people use your app and what drives growth.
Good uses and abuse
Legitimate uses
- Product analytics, crash funnels
Known abuse
- Merging with Google Ads audiences without disclosure
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 1 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2024-03, Android Firebase SDK: Consent Mode v2 signals for ad_user_data and ad_personalization
Related capabilities
Related
- Google Ads app campaign measurement. Can tell Google Ads about your installs and in app actions
- Third-party SDK data sharing. Can share anything the app can see with its add on tools, who send it on
Same idea on the web
- IAB TCF consent string. Can see which ad vendors you agreed to in the EU cookie banner
Sources
How well checked: Based on official documentation.