Skip to Content
Platform.Ontology

Google Analytics for Firebase

Google's free analytics SDK that gives every install an ID and logs automatic events.

Used to track youAds and install trackingSDKs and measurementAndroid and iPhoneWhen the app opensWhile you use it

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

AndroidiPhone
StatusSupportedSupported
First versionNot availableNot available
Permission or entitlementAD_ID (Android 13+), INTERNETNSUserTrackingUsageDescription if IDFA, optional IDFV collection
Protection levelnormalprompt
How access is grantedinstallprompt
What the user seesNot listedNot listed
How long it lastsNot listedNot listed
How to take it backNot listedNot listed
Store policyData safety: app activity, device IDs; Consent Mode v2Privacy manifest; ATT when linking with ads
APIFirebaseAnalytics.logEvent, setConsentFirebaseAnalytics
NotesApp 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

FieldTypeUnitRangePrecision
app_instance_idstringNoneNot listedNot listed
automatic eventslistNonefirst_open, session_start, screen_viewNot 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

TypeExampleApps
gamesA studio sees that 40 percent of players quit at level 3, so it makes the level easier.Subway Surfers, Candy Crush
shoppingA retail app tracks how many users add to cart but never pay, then sends a reminder.Zalando, Etsy
fitnessA running app measures which workout types people finish and which they skip.Strava
adsGoogle Ads uses the events to find similar users and judge which ads bring buyers.Google Ads
mediaA video app measures play time and tests a new recommendation row.Netflix, Hulu
developerA 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

Good uses and abuse

Legitimate uses

  • Product analytics, crash funnels

Known abuse

  • Merging with Google Ads audiences without disclosure

Scores

ScoreValueMeaning
Sensitivity3 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction1 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2024-03, Android Firebase SDK: Consent Mode v2 signals for ad_user_data and ad_personalization

Same idea on the web

Sources

How well checked: Based on official documentation.

On this page