/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
Claude Code
$ npx -y skills add firebase/agent-skills --skill firebase-analytics --agent claude-code
Codex
$ npx skills add firebase/agent-skills --skill firebase-analytics -a codex -y
Cursor
$ npx skills add firebase/agent-skills --skill firebase-analytics -a cursor -y
Gemini CLI
$ npx skills add firebase/agent-skills --skill firebase-analytics -a gemini-cli -y
GitHub Copilot
$ npx skills add firebase/agent-skills --skill firebase-analytics -a github-copilot -y
OpenCode
$ npx skills add firebase/agent-skills --skill firebase-analytics -a opencode -y
Windsurf
$ npx skills add firebase/agent-skills --skill firebase-analytics -a windsurf -y
SKILL.md
firebase-analytics.SKILL.mdname: 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)
Read more
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)
Other skills on firebase.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about firebase-analytics.
- Which coding agents can use firebase-analytics?
- firebase-analytics installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

