How to Add Analytics to Your Expo App (So You Know What Users Actually Do)

DavidDavid August 6, 2026 8 min read
A phone screen showing a simple analytics dashboard with line graphs on a desk
Original image, App Store Launch Club

Why I add analytics before the first build, not after

I shipped an early version of an app without analytics because I wanted to move fast. Two weeks after launch I had download numbers from App Store Connect and nothing else - no idea whether people who opened the app actually reached the core feature, or bounced on the first screen. I could not tell if the problem was acquisition or the product itself, which meant I could not fix anything with confidence.

Adding analytics before the first build costs less than an hour and removes that blind spot completely. It does not need to be complicated - a handful of well-chosen events tells you almost everything you need for the first few months.

Picking a tool that works with Expo

Most general-purpose analytics SDKs (PostHog, Amplitude, Mixpanel) have React Native support that works fine inside a standard Expo project using a development build. Avoid tools that require heavy native configuration outside the Expo workflow unless you are already comfortable with config plugins - for a first app, pick whichever has the simplest Expo-specific setup guide and a usable free tier.

The events that actually matter at launch

EventWhy it matters
App openedBaseline usage - are people coming back, or opening once and leaving?
Onboarding completedShows whether your onboarding flow is actually finishing or losing people midway.
Core action performedThe single thing your app exists to do - if this number is low relative to app opens, the product has a real problem, not a marketing one.
Paywall or subscription screen viewedTells you how many people reach the point of a purchase decision, separate from how many convert.
Purchase completedThe actual conversion event - compare against paywall views to get a real conversion rate.

Resist adding twenty events on day one. Every additional event is something to maintain, name consistently, and actually look at. Five events checked every week beats twenty events nobody reviews.

How to wire it into an Expo project

  1. Install the analytics SDK and its Expo config plugin if one is provided - this handles the native setup automatically on your next prebuild.
  2. Initialize the SDK once, near the root of the app, with your project's API key stored in an environment variable, not hardcoded.
  3. Add a single tracking call at each of the five core events listed above, using consistent event names (snake_case or camelCase, pick one and stick with it).
  4. Build a development build (not Expo Go, if your SDK needs native modules) and confirm events appear in the analytics dashboard before shipping to TestFlight.
  5. Check the dashboard again a few days after your first real users are in, not just once during setup - this is where you catch a broken event early instead of discovering it a month later.

A mistake worth avoiding

The most common analytics mistake is tracking an event once during setup, confirming it fires in a test, and never checking again. Events silently stop firing after unrelated code changes more often than you would expect - a renamed screen, a refactored button handler. Build a two-minute weekly habit of glancing at the dashboard, not just a one-time setup check.

Free app-building tips, straight to your inbox

Short, practical drops on app ideas, validating fast, store listings, and passing app review. No spam, unsubscribe anytime.

Frequently asked questions

Do I need analytics before my first TestFlight build?

Yes, if possible. Adding it before your first external testers gives you real usage data from day one instead of a gap you can never fill in retroactively for that early cohort.

Is a free analytics tier enough for a new app?

For most new apps under a few thousand monthly active users, yes. Free tiers on tools like PostHog or Amplitude comfortably cover early-stage volume - you can evaluate paid tiers once you have real growth to justify the cost.

Should I track every button tap in the app?

No. Tracking every interaction creates noise that buries the events that actually matter. Start with the five core events tied to your app's main flow and add more only when a specific question comes up that existing events cannot answer.

Does adding an analytics SDK slow down my app?

A well-implemented analytics SDK has negligible performance impact for the event volume a typical app sends. The bigger risk to performance is usually elsewhere - analytics is rarely the bottleneck worth worrying about first.

Last reviewed by David on August 6, 2026

David

Written by

David

Founder and app builder

Keep reading

ExpoClaude Code

How to Add Notification Actions to Your Expo App

To add notification actions to an Expo app, register a category with Notifications.setNotificationCategoryAsync, give it action buttons (and optionally a text reply), set categoryIdentifier on the notification, then read response.actionIdentifier in a response listener. Here is every action option, how to handle taps when the app was closed, the Android and iOS differences, and a Claude Code prompt that wires it all up.

David 8 min
Read article
ExpoClaude Code

How to Schedule Local Notifications in Your Expo App

To schedule local notifications in an Expo app, install expo-notifications, set a notification handler, ask for permission, create an Android channel, then call scheduleNotificationAsync with your content and a trigger like DAILY, WEEKLY or DATE. Here is every trigger type, how to cancel and list what is scheduled, why Android reminders arrive late, and a Claude Code prompt that builds the whole reminder flow.

David 8 min
Read article

Ready to build it yourself?

Join App Store Launch Club, the #1 community for building and launching apps, for $9/month.

← Back to the blog