erkamyaman/ionic-capacitor-skills

ionic-analytics

Add product analytics to an Ionic Capacitor app — Firebase Analytics or PostHog. Trigger when adding event tracking, screen views, funnel analytics, A/B testing, or user behavior tracking to an Ionic mobile app.

First seen Apr 26, 2026

Installation

$ npx skills add erkamyaman/ionic-capacitor-skills --skill ionic-analytics

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from erkamyaman/ionic-capacitor-skills · top by installs.

npx skills add erkamyaman/ionic-capacitor-skills

Browse all from erkamyaman/ionic-capacitor-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 14
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0
LicenseMIT
More metadata
author
erkamyaman
version
1.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,981 B
  • docs SUMMARY.md 236 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 22 installs

SKILL.md

Analytics

Two viable choices for product analytics on Ionic Capacitor — pick one. Don't run both.

Firebase Analytics PostHog
Pricing Free Free up to 1M events/mo
Funnels / cohorts Yes (Looker / BigQuery integration) Yes (built-in)
A/B testing Via Firebase Remote Config Built-in feature flags
Session replay No (use Sentry / Hotjar) Yes
Self-host No Yes
Mobile SDK Native via @capacitor-firebase/analytics JS SDK works in WebView; native plugin available
Best for Already-on-Firebase teams; simple needs Product-led teams; flag-driven experimentation

When to consult

  • Firebase Analytics setup + tracking: [firebase-analytics.md](references/firebase-analytics.md)
  • PostHog setup + tracking: [posthog.md](references/posthog.md)
  • Common event taxonomy (what to track): [event-taxonomy.md](references/event-taxonomy.md)

Hard rules

  • ✅ Track events with stable, snake_case names. Renaming an event later orphans the old data.
  • ✅ Send the user ID after sign-in (identify/setUserId) so events stitch across sessions.
  • ✅ Respect ATT denial on iOS — don't send IDFA-related identifiers when the user has denied tracking.
  • ✅ For EU/UK users, defer analytics calls until consent is captured (see [../ionic-cmp-consent/](../ionic-cmp-consent/SKILL.md) — UMP returns analytics consent separately from ad consent).
  • ❌ Don't ship event names like buttonclickedv2 and buttonclickedv3 — version your schema, not your event names.
  • ❌ Don't track PII (raw email, IP, full name) as event properties unless legal has approved.