Firebase Analytics: Install, Source and Security

Firebase Analytics

Published by firebase in agent-skills

Review recommended15k installs

What this skill does

>-

Add Firebase Analytics to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "firebase-analytics" from https://github.com/firebase/agent-skills

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/firebase/agent-skills --skill firebase-analytics

Skill instructions

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:

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.

Files included

  • references/android_screen_views.md
  • references/android_setup.md
  • references/ios_screen_views.md
  • references/ios_setup.md
  • SKILL.md

More skills