Firebase Analytics
This skill provides a complete guide for getting started with Google Analytics for Firebase (GA4F) on Android or iOS. It covers base dependency setup, configuration file placement, initialization, screen tracking, and real-time event verification.
Prerequisites
An active Firebase project
linked to a Google Analytics property.
See the firebase-basics skill for references on project initialization, CLI
login, and downloading app configuration files (google-services.json or
GoogleService-Info.plist).
SDK Setup
To learn how to set up Google Analytics for Firebase in your application code and verify events in real time with DebugView, choose your platform:
- Android: android_setup.md
- iOS: ios_setup.md
SDK Usage
Google Analytics for Firebase automatically logs some events and user properties; you can also define custom events and properties.
- Log events (custom or recommended)
- Set user properties
- Track screens
- Android: android_screen_views.md
- iOS: ios_screen_views.md
- Configure data collection and consent mode
To learn how to customize event logging and configure advanced behaviors, consult the documentation for your platform.