A universal module that interfaces with the native firebase analytics API

Usage no npm install needed!

<script type="module">
  import expoFirebaseAnalytics from 'https://cdn.skypack.dev/expo-firebase-analytics';



This is the only Firebase Analytics package for React Native that has universal platform support (iOS, Android, Web, and Electron).

expo-firebase-analytics enables the use of native Google Analytics for Firebase. Google Analytics for Firebase is a free app measurement solution that provides insight on app usage and user engagement. Learn more in the official Firebase Docs.

API documentation

Installation in managed Expo projects

For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.

Installation in bare React Native projects

For bare React Native projects, you must ensure that you have installed and configured the react-native-unimodules package before continuing.

Add the package to your npm dependencies

expo install expo-firebase-analytics

Configure for iOS

Run npx pod-install after installing the npm package.

Setup native Firebase

Follow the "Setup Native Firebase" guide in the docs to get started using native Firebase SDK features.


Contributions are very welcome! Please refer to guidelines described in the contributing guide.