Skip to main content
skill CX Codex

firebase-analytics · firebase — Claude Code skill: what it does, how to install

A skill for Claude Code that integrates Firebase Analytics into mobile apps. It automates SDK setup, event logging, and screen view tracking.

Apache-2.0 7,200 installs ★ 521 updated 2026-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add firebase/agent-skills --skill firebase-analytics -a claude-code
Open on GitHub

What firebase-analytics does

This skill provides a guide for implementing Google Analytics for Firebase (GA4F) in Android and iOS projects. It covers base dependency configuration, placement of setup files, SDK initialization, and real-time event verification using DebugView.

A linked Google Analytics property within an active Firebase project is required for the tool to function. It assists in defining custom or recommended events and user properties, as well as tracking screen transitions according to platform-specific documentation.

What it helps with

  • integrate Firebase Analytics into a mobile app
  • implement logging for custom analytics events
  • track user transitions between screens
  • configure data collection and consent modes

Example prompts for the agent

  • Help me set up Google Analytics in my Android app.
  • Implement event tracking for iOS using firebase-analytics.
  • Guide me through configuring screen view tracking.

How to install firebase-analytics

1Skills CLI (Vercel)

npx skills add firebase/agent-skills --skill firebase-analytics -a claude-code

2Manually: put the files in place

~/.claude/skills/firebase-analytics/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/firebase-analytics/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about firebase-analytics

How to install firebase-analytics in Claude Code?

Run npx skills add firebase/agent-skills --skill firebase-analytics -a claude-code in your project terminal.

What does firebase-analytics do?

It acts as an integration guide for setting up Google Analytics in Android or iOS applications, facilitating data collection and event logging setup.

What is required to use firebase-analytics?

You need an active Firebase project linked to a Google Analytics property, and the appropriate configuration files (google-services.json or GoogleService-Info.plist) downloaded.

Source text

SKILL.md · Apache-2.0
---
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)

© Google LLC · Apache-2.0 · firebase/agent-skills

Similar skills

All skills for Mobile →

firebase-analytics by other authors comes first.

firebase-analytics Ivanna Kaceviča firebase-analytics is a Claude Code skill for configuring Firebase Analytics in Flutter apps. It activates for event logging, user properties, funnels, and screen-view tracking. CX Codex +1 ★ 674repo stars firebase-basics official google The firebase-basics skill sets up the Firebase CLI, handles sign-in, creates or switches projects, and downloads Android or iOS app configuration files. CX Codex +1 14,100installs firebase-in-app-messaging Ivanna Kaceviča Guides Firebase In-App Messaging setup in Flutter: trigger and suppress popups during sensitive flows, configure GDPR opt-in collection, and run tests via test device IDs. CX Codex +1 ★ 674repo stars firebase-auth Ivanna Kaceviča Configures Firebase Authentication in Flutter projects. Guides email sign-in, social auth, local emulator testing, and auth state streams. CX Codex +1 ★ 674repo stars firebase-apk-scanner trailofbits firebase-apk-scanner unpacks an Android APK, pulls out its Firebase config and probes databases, buckets and functions for open access. Built for mobile app security audits. CX Codex +1 6,000installs capacitor-push-notifications capawesome-team capacitor-push-notifications walks the agent through Firebase, the @capacitor-firebase/messaging plugin, Android, iOS and Web setup, APNs, FCM tokens and a test send. CX Codex +1 1,600installs push-notification-setup secondsky push-notification-setup is a Claude Code skill that sets up push notifications via Firebase Cloud Messaging and native services. It triggers when adding notifications, handling background messages, or setting up channels. CX Codex +1 444installs

From the same set13

The whole set →
firebase-security-rules-auditor firebase-security-rules-auditor is a Claude Code skill that audits Firebase Firestore and Cloud Storage security rules. It runs for rule reviews and red-team assessments. CX Codex +1 150,300installs firebase-firestore The firebase-firestore skill handles Cloud Firestore setup, data models, indexes, and SDK work. Use it when an app needs a new database or a migration. CX Codex +1 146,900installs firebase-ai-logic-basics firebase-ai-logic-basics adds Firebase AI Logic to client apps across Android, iOS, Web, and Flutter to invoke Gemini models without spinning up a backend. CX Codex +1 146,900installs firebase-crashlytics Guides Firebase Crashlytics provisioning and SDK setup. It covers crash reporting for Android, iOS, and Web apps. CX Codex +1 142,900installs xcode-project-setup xcode-project-setup is a Claude Code skill that adds Swift Packages and links modules in .pbxproj via a native Swift script. It activates for iOS dependency installation requests. CX Codex +1 141,900installs firebase-remote-config-basics firebase-remote-config-basics manages Firebase Remote Config templates, loading strategies, and feature flags for Android and iOS. Helps tweak app behavior without pushing a release to app stores. CX Codex +1 132,400installs extension-to-functions-codebase extension-to-functions-codebase converts a Firebase Extension into a standalone Cloud Functions codebase or an npm package. Upgrades triggers from V1 to V2 and introduces declarative IAM rules. CX Codex +1 67,500installs firestore-rules-creation firestore-rules-creation is a Claude Code skill that creates and refactors Cloud Firestore Security Rules in firestore.rules to cover project queries and data access. CX Codex +1 36,600installs

Project sponsors

Companies that keep this analytics open