A React Native bridge to native Google Analytics libraries for iOS and Android, automatically collecting device metadata.
GoogleAnalyticsBridge is a React Native library that provides a bridge to the native Google Analytics SDKs for iOS and Android. It allows developers to integrate Google Analytics tracking into their React Native mobile applications, automatically collecting device metadata and supporting a wide range of tracking features like screen views, events, and ecommerce.
React Native developers who need to integrate Google Analytics into their iOS and Android apps and want to leverage the native SDKs for accurate device data collection.
It simplifies Google Analytics integration by providing a unified JavaScript API while ensuring reliable tracking through the official native libraries, which automatically handle device metadata and offer better performance compared to pure JavaScript solutions.
React Native bridge to the Google Analytics libraries on both iOS and Android.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages the official Google Analytics native SDKs to automatically collect device UUID, model, viewport size, and OS version, reducing manual data in tracking calls as highlighted in the README.
Supports screen views, events, timing, exceptions, social interactions, and enhanced ecommerce with detailed payloads, evidenced by the extensive JavaScript API documentation.
Provides Promise-based methods to open containers, retrieve values, and push data layer events, allowing dynamic configuration without app updates.
Includes a dry run mode via GoogleAnalyticsSettings.setDryRun() to test tracking without sending data to Google Analytics, useful for debugging.
The library is deprecated since Google sunset the mobile Analytics SDK in 2019, with only minor fixes supported and no major updates, making it unsuitable for new projects.
Requires manual linking and installation of prerequisite native SDKs, with potential issues on both iOS and Android, as noted in the installation guide and troubleshooting wiki.
Version 6 introduced breaking changes that require migration for ecommerce and custom dimensions, adding upgrade overhead and risk for existing implementations.
Does not work with Expo or create-react-native-app without ejecting, restricting use in projects built with these popular tools, as explicitly stated in the README.