Skill Press

No. 430 · firebase-analytics

Firebase Analytics

A field guide from Firebase

Firebase

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.

Rank
No. 430 of 971
Installs
Not listed yet
Runs in
Gemini, Codex
Length
185 words · 1 min
Files
6
License
Apache-2.0

Get this skill

Download the skill folder (.zip, 30 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "firebase-analytics" Agent Skill by Firebase, from https://github.com/firebase/agent-skills.

1. Fetch the whole folder skills/firebase-analytics — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/firebase/agent-skills.git 99954a30898bb5ddc8152ee10e124dc3b4106bf7
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "firebase-analytics":
   - Claude Code: ~/.claude/skills/firebase-analytics/ (all projects) or .claude/skills/firebase-analytics/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that firebase-analytics/SKILL.md exists and its frontmatter says name: firebase-analytics.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/firebase/agent-skills/tree/99954a30898bb5ddc8152ee10e124dc3b4106bf7/skills/firebase-analytics --skill firebase-analytics

Contents

  1. Prerequisites
  2. SDK Setup
  3. SDK Usage

The skill, in full

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:

SDK Usage

Google Analytics for Firebase automatically logs some events and user properties; you can also define custom events and properties.

To learn how to customize event logging and configure advanced behaviors, consult the documentation for your platform.

More in Data & Analytics

All Data & Analytics skills →

More from Firebase

From firebase/agent-skills at 99954a3, Apache-2.0. Install counts from skills.sh.