Guides › Analytics
Google Analytics for Firebase: privacy policy, Data safety & App Privacy
If your app includes the Google Analytics for Firebase SDK, the App Store and Google Play expect you to declare the data it collects — even though Google collects it, not your own code. Here is what to declare. Check your own SDK configuration too: some data is only collected when you enable a feature.
Data collected by Google Analytics for Firebase
| Data | Purpose | Google Play Data safety | Apple App Privacy |
|---|---|---|---|
| Device identifiers identifiers for your device or app installation, such as an advertising ID or push token | Analytics | Device 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 | Analytics | App 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 | Analytics | Location › 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 | Analytics | Financial info › Purchase history Shared: No | Purchases › Purchase History Linked to user: No · Tracking: No |
What to write in your privacy policy
List Google Analytics for Firebase as a third-party service, say what it is used for (app usage analytics), which data it processes, and link to Google's privacy policy: https://firebase.google.com/support/privacy.
Quick answers
| Collects data? | Yes |
|---|---|
| Shares data with third parties (Google definition)? | No |
| Used for tracking (Apple definition)? | No |
Using more than one SDK? Drop your dependency file into StoreOK. It detects every SDK and writes one privacy policy, Data safety and App Privacy answers that match each other, hosted for you.
Generate my pages free →How StoreOK detects Google Analytics for Firebase
StoreOK finds it in your dependency file by these package names:
- Flutter (pubspec.yaml):
firebase_analytics - React Native, Expo, Capacitor, Cordova (package.json):
@react-native-firebase/analytics@firebase/analytics@capacitor-firebase/analyticscordova-plugin-firebasexcordova-plugin-firebase-analytics - iOS, CocoaPods (Podfile.lock):
FirebaseAnalyticsFirebase/Analytics - iOS, Swift Package Manager (Package.resolved):
firebase-ios-sdk - Android (build.gradle, libs.versions.toml):
com.google.firebase:firebase-analytics - Unity (Packages/manifest.json):
com.google.firebase.analytics
Google Analytics for Firebase by framework
Related SDKs
Based on Google's public documentation and our SDK mapping. SDK behaviour changes between versions and configurations — verify against your own setup. This is not legal advice.