Firebase Analytics
Firebase (Google)OfficialCreated by Google LLCDistributed by Firebase (Google)
- Skill
- Tool integration
- Software development
- Apache-2.0
- Low risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a structured approach to setting up Google Analytics for Firebase (GA4F). It covers the essential steps for SDK initialization, configuration, and event tracking across Android and iOS platforms. The guide emphasizes best practices for screen view logging, including specific patterns for Jetpack Compose, and provides guidance on verifying events in real-time using DebugView.
What it does
- Guides the installation and initialization of the GA4F SDK for Android and iOS.
- Provides instructions for manual screen view tracking in native and modern UI frameworks.
- Outlines the process for logging custom and recommended events.
- Details how to set user properties for behavioral segmentation.
- Offers a systematic approach to auditing and tracking all screens in an application.
- Explains how to verify analytics data collection in real-time.
When to use it
- When integrating Google Analytics into an Android or iOS app for the first time.
- When you need to implement comprehensive screen view tracking.
- When you need to define and log custom events or user properties.
- When preparing an app for Google Ads attribution or BigQuery data exports.
Advantages
- Enables powerful synergies with other Firebase services like Remote Config and A/B Testing.
- Provides native support for Google Ads conversion tracking and bidding optimization.
- Supports seamless co-existence with third-party attribution partners.
- Ensures high-fidelity data collection for future-proofing marketing and growth efforts.
Usage examples
- “How do I initialize the Firebase Analytics SDK in my Android project?”
- The agent will guide you through adding the necessary dependencies, placing the google-services.json file, and initializing the SDK in your application code.
- “I need to track screen views in my Jetpack Compose app, how should I do it?”
- The agent will provide the pattern for using OnDestinationChangedListener within a DisposableEffect to manually log screen views in your NavHost.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/firebase/firebase-analytics/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip firebase-analytics.zip -d .agents/skills
Documentation by Google LLC
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.
Track screens
Android: android_screen_views.md
iOS: ios_screen_views.md
To learn how to customize event logging and configure advanced behaviors, consult the documentation for your platform.
Files
- ATTRIBUTION.mdAdded by AutoGineer966 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md2.6 KiB
- references/android_screen_views.md16.5 KiB
- references/android_setup.md22.7 KiB
- references/ios_screen_views.md11.6 KiB
- references/ios_setup.md20.2 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
The author says: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Google LLC
- Publisher
- Firebase (Google) (Official)
- Distributed by
- Firebase (Google)
- Source
- firebase/agent-skills · skills/firebase-analytics · commit b76be96
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google LLC or Firebase (Google).
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download firebase-analytics.zip