Agent skill · Data & Analytics

firebase-analytics

Use when logging analytics events, setting user properties, configuring default event parameters, building funnels, or adding screen-view tracking.

evancagithub.com/evancaGitHub ↗
claude-codecodexcursorwindsurfMIT
Install
npx skills add evanca/flutter-ai-rules --skill firebase-analytics --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/firebase-analytics/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 604
Language: Shell

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Firebase Analytics Skill This skill defines how to correctly implement Firebase Analytics in Flutter applications, covering setup, event logging, user properties, and data collection best practices. ## When to Use Use this skill when: * Setting up and configuring Firebase Analytics in a Flutter project. * Logging predefined or custom analytics events. * Setting user properties or default event parameters. * Implementing screen view tracking with GoRouter or Navigator observers. * Building conversion funnels or tracking user flows. --- ## 1. Setup and Configuration ``` flutter pub add firebase_analytics flutter run ``` ```dart import 'package:firebase_analytics/firebase_analytics.dart'; // After Firebase.initializeApp(): FirebaseAnalytics analytics = FirebaseAnalytics.instance; ``` - Initialize Firebase before using any Firebase Analytics features. - Analytics **automatically logs** some events and user properties — no additional code needed for those. - On iOS, if your app does not use the IDFA (Advertising Identifier), use the IDFA-free Analytics dependency (`FirebaseAnalyticsCore` under Swift Package Manager, or `FirebaseAnalytics/Core` under CocoaPods) instead of the default `

What's inside
Steps it walks through
  1. When to Use
  2. 1. Setup and Configuration
  3. Add Navigator Observer for Automatic Screen Tracking
  4. Verification Checklist
  5. 2. Event Logging
  6. Custom Event Example — E-commerce Add-to-Cart
  7. 3. Parameters and Properties
  8. 4. User Properties
  9. 5. Best Practices
  10. References
More from flutter-ai-rules
All skills →
About this skill
What does the firebase-analytics skill do?

Use when logging analytics events, setting user properties, configuring default event parameters, building funnels, or adding screen-view tracking.

How do I install it?

Run `npx skills add evanca/flutter-ai-rules --skill firebase-analytics --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From evanca/flutter-ai-rules, a repository with 604 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going