firebase-analytics
/firebase-analytics
Comprehensive guide for Google Analytics for Firebase (GA4F), including base setup, SDK initialization, screen tracking, and event logging on Android and iOS. Use this skill when setting up Google Analytics, adding the SDK, or logging analytics events. Don't use for standalone CLI login or project/config file downloads without Analytics (use firebase-basics), or for Crashlytics, Remote Config, Auth, Firestore, Hosting, App Hosting, or Data Connect.
- Author
- firebase ↗
- Repository
- agent-skills ↗
- Licence
- Apache-2.0
- Last repository change
- 09.11.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 6
No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Comprehensive guide for Google Analytics for Firebase (GA4F), including base setup, SDK initialization, screen tracking, and event logging on Android and iOS. Use this skill when setting up Google Analytics, adding the SDK, or logging analytics events. Don't use for standalone CLI login or project/config file downloads without Analytics (use firebase-basics), or for Crashlytics, Remote Config, Auth, Firestore, Hosting, App Hosting, or Data Connect.
Original author description
Comprehensive guide for Google Analytics for Firebase (GA4F), including base setup, SDK initialization, screen tracking, and event logging on Android and iOS. Use this skill when setting up Google Analytics, adding the SDK, or logging analytics events. Don't use for standalone CLI login or project/config file downloads without Analytics (use firebase-basics), or for Crashlytics, Remote Config, Auth, Firestore, Hosting, App Hosting, or Data Connect.
How it works
- Prerequisites
- SDK Setup
- SDK Usage
SKILL.md preview
---
name: firebase-analytics
description: >-
Comprehensive guide for Google Analytics for Firebase (GA4F), including base
setup, SDK initialization, screen tracking, and event logging on Android and
iOS. Use this skill when setting up Google Analytics, adding the SDK, or
logging analytics events. Don't use for standalone CLI login or project/config
file downloads without Analytics (use firebase-basics), or for Crashlytics,
Remote Config, Auth, Firestore, Hosting, App Hosting, or Data Connect.
compatibility: >-
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`.
version: 1.0.0
metadata:
author: Google LLC
category: CloudObservabilityAndMonitoring
---
# 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](https://support.google.com/analytics/answer/9289234).
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](references/android_setup.md)
* **iOS**: [ios_setup.md](references/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)](https://firebase.google.com/docs/analytics/events)
* [Set user properties](https://firebase.google.com/docs/analytics/user-properties)
* Track screens
* **Android**:
[android_screen_views.md](references/android_screen_views.md)
* **iOS**: [ios_screen_views.md](references/ios_screen_views.md)
* [Configure data collection and consent mode](https://firebase.google.com/docs/analytics/configure-data-collection)
To learn how to customize event logging and configure advanced behaviors,
consult the documentation for your platform.
* **Android**:
[Get started with Google Analytics for Android](https://firebase.google.com/docs/analytics/android/get-started)
* **iOS**:
[Get started with Google Analytics for iOS+](https://firebase.google.com/docs/analytics/ios/get-started)
Files in this package (5)
- SKILL.md 3 KB
- references/android_screen_views.md 16 KB
- references/android_setup.md 23 KB
- references/ios_screen_views.md 12 KB
- references/ios_setup.md 20 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · firebase/agent-skills | 90 | Apache-2.0 |
| evanca/flutter-ai-rules | 100 | MIT |
Database snapshot: 13.11.2026 · package version 5d5c018480da (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100firebase-remote-config-basics
Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK… - 100firebase-basics
Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`,… - 100gcp-firebase-developer
Build, configure, and operate Firebase-powered web and mobile applications — covering Firestore, Firebase Auth, Firebase Hosting, Cloud Functions for Firebase, Firebase Storage, App Check, Firebase Remote Config, and Firebase Analytics. Use when building mobile/web apps with… - 95firebase-basics
Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`,… - 100firebase-basics
Provides foundational Firebase CLI setup, CLI installation, version checks (`firebase-tools@latest --version`), CLI login (including --no-localhost), project creation, project selection (`firebase use`), and app config file downloads (`google-services.json`,… - 90flutter-firebase
Use when integrating Firebase Authentication, Cloud Firestore, Cloud Messaging, Crashlytics, or Firebase Analytics in Flutter.