Analytics integrates across Firebase features and provides you with unlimited reporting for up to 500 distinct events that you can define using the Firebase SDK. Analytics reports help you understand clearly how your users behave, which enables you to make informed decisions regarding app marketing and performance optimizations.
Requires @react-native-firebase/app to be installed.
yarn add @react-native-firebase/analyticsIf you use Expo, including EAS Build, and want to configure iOS Analytics Podfile flags, add the Analytics config plugin to your app.json / app.config.js:
{
"expo": {
"plugins": [
[
"@react-native-firebase/analytics",
{
"ios": {
"withoutAdIdSupport": true,
"googleAppMeasurementOnDeviceConversion": true
}
}
]
]
}
}The withoutAdIdSupport option adds $RNFirebaseAnalyticsWithoutAdIdSupport = true during prebuild, which excludes FirebaseAnalytics/IdentitySupport. The googleAppMeasurementOnDeviceConversion option adds $RNFirebaseAnalyticsGoogleAppMeasurementOnDeviceConversion = true, which includes Google Analytics on-device conversion measurement support. You may omit either option if it is not needed.
- See LICENSE
Built and maintained with 💛 by Invertase.

