ionic-analytics
Installation
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
- PostHog setup + tracking: posthog.md
- Common event taxonomy (what to track): event-taxonomy.md