Product Analytics, Remote Config & Experiments

Instrument meaningful events, build funnels and retention views, and use remote config, feature flags and A/B tests to change the app without shipping a build.

Intermediate · about 4 hours · difficulty 2/5

Learn first: Crash Reporting & Monitoring, Backend-as-a-Service: Firebase & Supabase

Crash reporting tells you the app works; analytics tells you whether people get value from it. The goal is a few trustworthy events that answer real product questions, not tracking every tap.

Designing events

  • Start from questions: "Where do new users drop off during onboarding?" "Do users who save a favourite come back more?"
  • Name events consistently in object_action form: signup_completed, item_added_to_cart, checkout_started.
  • Attach useful properties (plan, source screen) and set user properties sparingly.
  • Keep a tracking plan document so events stay consistent across platforms.

Key views

  • Funnels: step-by-step conversion through onboarding or checkout.
  • Retention: percentage of users returning on day 1, 7 and 30.
  • Active users (DAU, MAU) and screen views.

Tools

Firebase Analytics (Google Analytics for Firebase) is free and pairs with Crashlytics and Remote Config. PostHog, Amplitude and Mixpanel offer richer product analysis; PostHog can be self-hosted.

Remote config and feature flags

Remote config values (a banner text, a timeout, whether a feature is on) are fetched at runtime, so you can change behaviour or kill a broken feature without a release. Feature flags can target a percentage or segment of users, which enables gradual launches and A/B tests that compare variants on a chosen metric.

Privacy and consent

  • Ask for consent where required (GDPR, and Apple's App Tracking Transparency prompt before cross-app tracking).
  • Do not send personal data as event properties.
  • Declare analytics in store privacy disclosures.

Good enough to move on: you can answer "what percentage of new users finish onboarding?" from real data and toggle a feature remotely.

Key concepts

  • Tracking plans and event naming
  • Funnels and retention
  • Firebase Analytics
  • PostHog, Amplitude or Mixpanel
  • Remote config
  • Feature flags and gradual launches
  • A/B testing basics
  • Consent and App Tracking Transparency

Mini project

Write a tracking plan for onboarding, instrument it, build an onboarding funnel, and put a new onboarding screen behind a remote flag rolled out to 50 percent of users.

Check yourself

Why is tracking every button tap usually worse than tracking ten well-defined events?

Free resources