Growth guide by Mark Parfenov, published 1 December 2026
Product analytics for apps: PostHog, Firebase and an event plan
For senior tech professionals building and marketing their own app; also useful for indie developers and small teams.
9-minute read
Website analytics tells you how people arrive. Product analytics tells you what they do inside the app: whether they reach the moment that matters, which features they use and who comes back. This is how I set it up for founders, with a short event plan first and the tool second.
1. Start with the questions, not the tool
Write the five or six questions you need answered each week, such as how many new users reach activation, where onboarding loses people, which features paying users use and how many come back after a month. Every event you track should help answer one of them.
2. Know what website analytics covers
GA4 is good at the website: where visitors come from, which pages they read and whether they sign up. It is weaker at in-app behaviour over time. Most apps need both: web analytics for acquisition, product analytics for use.
3. Choose the product analytics tool
I usually recommend PostHog: product analytics, session replays, feature flags and experiments in one tool, with the option to host data in the EU. Firebase’s Analytics suits mobile apps already on Firebase and connects to Google’s ads. Mixpanel and Amplitude are strong alternatives. I recommend one, with reasons, for your app.
4. Write an event plan
A short table: each event’s name, when it fires, its properties and which question it answers. Name events the same way everywhere, such as object and action, like project_created or plan_upgraded. Twenty well-named events beat two hundred vague ones.
5. Identify users properly
Link anonymous visits to the user once they sign up, and keep one user ID across web, iOS and Android, so a person counts once. Store the plan, signup date and acquisition source as user properties.
6. Send revenue from the source of truth
Send subscription starts, renewals, cancellations and refunds from Stripe or the store’s server notifications, not only from the app, so revenue in your analytics matches revenue in the bank.
7. Respect consent and privacy
Ask for consent where the law requires it, turn on IP anonymisation or EU hosting where it matters, never send passwords, payment details or sensitive personal data as event properties, and describe the tracking honestly in your privacy policy and in the stores’ privacy forms.
8. Build three views first
An activation funnel from signup to the activation moment, a retention chart by weekly signup cohort, and a feature use table split by free and paying users. Most weekly decisions come from these three.
9. Watch sessions where numbers drop
Where a funnel step loses people, watch a handful of session replays of that step, with sensitive fields masked. Ten replays often explain what a chart can only show.
10. Check the data before you trust it
Test every event in a debug view before release, compare signups and payments with your database and Stripe each month, and fix gaps quickly. Decisions on wrong data are worse than no data.
A worked example: an event plan for a notes app
An invented example. A founder building a note-taking app writes six questions and twelve events.
Her questions: how many new users create a first note on day one, how many share a note in their first week, where sign-up loses people, which features paying users use, how many come back after four weeks, and which acquisition source brings users who pay.
Her events include signup_started, signup_completed, note_created, note_shared, workspace_invited, trial_started, plan_upgraded and plan_cancelled, each with a few properties such as the platform and the plan. Revenue events come from Stripe, not the app. Within a week she can answer all six questions, and nothing in the plan is there because a tool suggested it.
A starter event list for a subscription app
Acquisition: app_installed or page_viewed with the source, signup_started, signup_completed.
Onboarding: onboarding_step_completed with the step, permission_granted with the type.
Activation: the one action that predicts staying, such as first_project_created.
Core use: the two or three main actions, such as item_created and item_shared.
Health: error_shown with a code, support_contacted.
Start here, add events only when a question needs them, and keep the plan document up to date.
Setting up a product analytics tool, step by step
1. Create the project in the region you need, such as EU hosting for European users, with separate projects or environments for testing and production.
2. Install the SDKs for web, iOS and Android, and configure them to wait for consent where required and to mask sensitive inputs in session replays.
3. Identify users at sign-up and log-in with your own user ID, and reset on log-out, so each person counts once across devices.
4. Capture the events from your plan, with the agreed names and properties, and send revenue events from your server or payment webhooks.
5. Test every event in the tool’s debug view on each platform before release.
6. Build the three views: the activation funnel, weekly retention and feature use by plan, and share them with everyone who makes product decisions.
Connecting acquisition to product data
To know which channels bring users who stay and pay, the source has to travel with the user. On the web, keep the campaign tags from the first visit and attach them to the user at sign-up. On mobile, attribution is harder, because the platforms limit tracking across apps; use the stores’ own campaign reports, ad platforms’ privacy-preserving measurement and simple questions such as how did you hear about us. Then compare retention and revenue by source in your analytics, not only installs.
Privacy settings checklist
Consent required before tracking where the law asks for it.
IP addresses not stored, or stored only as needed.
Session replays mask text inputs and sensitive screens.
No personal data in event names or properties beyond what is needed.
Data retention set to what you need, not forever.
The privacy policy and the stores’ privacy forms describe the tool.
Naming rules that save you later
One style everywhere: lower case, object then action, past tense, such as invoice_sent.
The same event name on web, iOS and Android, with a platform property.
Properties that describe the action, such as the plan or the source, never personal data you don’t need.
A shared event plan document that is updated before any new event ships.
Old events retired, not reused with a new meaning.
Feature flags and experiments
Tools such as PostHog can turn features on for some users and compare their behaviour with others. That makes it possible to release safely and test changes, such as a shorter onboarding, against the current version. Run one test at a time on one metric, decide in advance how long it runs, and keep the losing version off once the test ends.
Common mistakes
Tracking everything. It makes the data harder to trust and harder to read.
Different user IDs on each platform. One person counts as three.
Revenue only from the app. It misses web purchases, refunds and renewals.
Personal data in event properties. It creates privacy risk and is rarely needed.
Dashboards nobody opens. Three views read every week beat thirty that nobody reads.
Your first 30 days of analytics
Week 1. Write the questions and the event plan, choose the tool and set up the projects and consent.
Week 2. Install the SDKs, identify users and capture the plan’s events on every platform; send revenue from the server.
Week 3. Test every event in debug mode, compare sign-ups and payments with your database and Stripe, and fix gaps.
Week 4. Build the activation funnel, weekly retention and feature use views, and hold the first weekly review.
What a weekly analytics review looks like
Fifteen to thirty minutes, the same views every week. How many new users arrived, from where, and how many activated? How do recent cohorts compare with earlier ones at one week and one month? Which step lost the most people, and what do a few session replays of that step show? What did paying users do that free users didn’t? End with one decision and write it down, with the date, so next week’s numbers can show whether it worked.
Dashboards for the founder, not the tool
Most analytics tools offer dozens of ready-made reports. Ignore most of them at first. A founder needs a handful of numbers they understand and trust, viewed the same way each week. Add a new view only when a decision needs it, and delete views nobody has opened for a month.
Analytics for mobile apps specifically
Mobile apps add a few things to plan for. Events may be recorded offline and sent later, so timestamps matter. App versions differ between users, so track the version with every event and watch new versions closely after release. Store data, such as installs, uninstalls, crashes and ratings, lives in App Store Connect and Play Console; check it alongside your own analytics, because neither shows the whole picture alone. And tracking across apps on iOS needs permission, so plan your measurement without relying on it.
Common questions analytics should answer, and the views that answer them
Is onboarding working? The activation funnel, step by step, for this week’s new users.
Are people staying? Weekly retention by signup cohort.
What do paying users value? Feature use, split by free and paid.
Where should we spend on acquisition? Activation, retention and revenue by source.
Did the last change help? The same views, before and after, with the change date marked.
Who should see the data
Give everyone who makes product decisions access to the same core views, so discussions start from the same numbers. Limit access to raw user-level data and session replays to the people who need it, use roles where the tool supports them, and turn on two-factor sign-in. Analytics data about real people deserves the same care as the rest of your customer data.
Cleaning up as the app grows
Event plans drift. Every few months, review the events: retire ones nobody uses, fix inconsistent names, and update the plan document. Check that new features shipped with their events. A short clean-up keeps the data trustworthy and the bill under control as volumes grow.
Questions founders ask me about analytics
Can I just use GA4 for the app? It can track app events through Firebase, and for some apps that is enough. Most apps that sell subscriptions benefit from a product analytics tool built around users and cohorts.
Do I need a data warehouse? Not at the start. Most product analytics tools can export data later when you need it.
How much does it cost? Many tools have free tiers that cover early-stage apps; costs grow with events and users, so a tidy event plan also keeps the bill down.
Which is better, PostHog or Firebase? It depends on the app. PostHog suits teams who want product analytics, replays, flags and experiments in one place, with EU hosting. Firebase suits mobile apps already on Firebase that want a close link to Google’s ads. I recommend one after looking at your stack and your questions.
Can I add analytics after launch? You can, but you lose the first users’ data, often the most instructive. Set up the basics before launch, even if the dashboards come later.
How many events should I start with? Usually between ten and twenty: enough to answer your weekly questions, few enough to name, test and trust. Add more when a decision needs them, not because the tool can capture them.
What about tracking users who aren’t logged in? Track them anonymously and link the history to the account when they sign up, so the full path from first visit to payment is visible.
What works
Good practice that holds across platforms, in plain words, checked on 1 December 2026.
Mark the actions that matter as key events. In GA4, key events are the actions that count for reports and ads, such as a signup or a purchase.
Use a product analytics tool for in-app behaviour. Product analytics tools such as PostHog build funnels, retention and paths from in-app events tied to users.
Firebase for mobile apps already on Google’s stack. Google Analytics for Firebase logs app events and user properties and connects to Google’s ad tools.
The first call is free. Launch and scale is a €9,900 launch setup, then from €3,500 a month for growth work and a report every two weeks. I usually reply within one working day.