Guides › Expo › Google Analytics for Firebase

Firebase Analytics in an Expo app: privacy policy, Data safety & App Privacy

@react-native-firebase/analyticspackage.json

In an Expo app, Firebase Analytics comes in through @react-native-firebase/analytics in package.json. Google collects the data below, but the store treats it as your app's collection: you declare it in Data safety and App Privacy and name Google in your privacy policy.

What to declare

DataPurposeGoogle Play Data safetyApple App Privacy
Device identifiers
identifiers for your device or app installation, such as an advertising ID or push token
AnalyticsDevice or other IDs › Device or other IDs
Shared: No
Identifiers › Device ID
Linked to user: No · Tracking: No
App interactions
how you use the app, such as screens viewed and features used
AnalyticsApp activity › App interactions
Shared: No
Usage Data › Product Interaction
Linked to user: No · Tracking: No
Approximate location
your approximate location, for example derived from your IP address
AnalyticsLocation › Approximate location
Shared: No
Location › Coarse Location
Linked to user: No · Tracking: No
Purchase history
information about purchases and subscriptions you make in the app
AnalyticsFinancial info › Purchase history
Shared: No
Purchases › Purchase History
Linked to user: No · Tracking: No
Data safety: shared with third parties?No
App Privacy: linked to the user?No
App Privacy: used for tracking?No

Expo notes

React Native Firebase doesn't run in Expo Go: use a development build and add @react-native-firebase/app to plugins in app.json.

Analytics logs in-app purchase events automatically, which is why Purchase history is in the table. If you set a user ID with setUserId, the data becomes linked to the user — declare it as linked in App Privacy.

Collect only after consent (optional)

If you ask users first — required for analytics in some regions — turn automatic collection off, then enable it after consent:

iOS privacy manifest

With prebuild there's no ios folder to edit by hand: declare your app's own required-reason API use in app.json under expo.ios.privacyManifests. SDKs bring their own manifests.

Privacy policy text

This is the line StoreOK puts in the "Third-party services" section of your policy:

Google Analytics for Firebase (Google) for app usage analytics. Privacy policy

The policy also has to describe the data itself (the rows above), how long you keep it, and how users can ask for deletion. See a full example.

Using more than Firebase Analytics? Drop your package.json — StoreOK detects every SDK and writes the policy and Data safety and App Privacy answers to match. Read in your browser, no signup.

Scan my package.json →

Firebase Analytics in other frameworks

Other SDKs in Expo

Based on Google's and Expo's public documentation and our SDK mapping. SDK behaviour changes between versions and configurations — verify against your own setup. This is not legal advice.