A tracking plan for subscription apps: from first open to renewal
The events to follow from the first open to the renewal, and the method to understand why PostHog and RevenueCat display different numbers.
Article summary
- Measure product journey in PostHog or Amplitude and transactions in RevenueCat or your billing system.
- Give each event a specific trigger. A click on “Try free” and a confirmed trial answer two different questions.
- Link product events to transactions with a stable ID, including when a user creates their account after onboarding.
- To judge a test, compare the revenue on all users assigned to each variant, with the same tracking window.
Summarize this article with
PostHog has 120 free trials. RevenueCat in poster 95. Last week, you changed the paywall and you have to decide if you keep it. What number do you use?
Depends on what you counted. In PostHog, an event called “trial started” can start as soon as the user touches the button. In RevenueCat, you can count trials confirmed by the store. In between, someone can leave the purchase window. And if the same event happens through the app and server integration, only one person can appear twice.
Here is the tracking plan I would put in place to find out where your app is losing users, and then check if a change really pays off more.
1. Start with the questions your tracking needs to answer
Imagine an app that launches 1,000 new users in its onboarding. You want to know how many reach the paywall, how many start a trial and how many end up paying. Each step must correspond to an observable fact.
| Proposed Event | When to register | Source of reference | What it's for |
|---|---|---|---|
| First opening | At the first detected launch of the app for the tracked identity | App | Define the starting cohort. Document what happens in case of relocation. |
| Onboarding started | When the first screen of the route is displayed | App | Measure the share of new users entering the journey. |
| Onboarding finished | When the last necessary step is validated | App | Measure the completion rate among those who have started. |
| Variant affected | When the user enters the test and is assigned a variant | Experimentation system | Determine the population that will be used to judge the test. |
| Paywall | When the offer is actually visible on the screen | App | Measure exposure, by location and by variant. |
| Initiated Purchase | When the person starts the buying process | App | Identify the gap between intent and confirmation. |
| Confirmed trial | When billing confirms the start of a free trial | RevenueCat or billing | Count the real trials. |
| First Payment Confirmed | When the first payment is confirmed, with or without prior testing | RevenueCat or billing | Measure the paid conversion. |
| Renewal confirmed | When a renewal payment is confirmed | RevenueCat or billing | Measure recurring revenue by formula. |
| Registered refund | When billing reports a refund | RevenueCat or billing | Calculate income after refunds. |
Add renewal failure and expiration if you are working on retention. Keep auto-renew status separate from access status. A subscriber may have disabled the renewal and retain access until the end of the period. See subscription events documented by RevenueCat.
Newsletter
Once a week.
Last issue
We opened 10 apps to see how they sell a subscription.
+534 people read us each week
2. Record the context when the action occurs
For a paywall, keep it to a minimum. User ID, time, platform, location, offer displayed and variantIf you sell an annual subscription after onboarding and a monthly from a premium screen, the location and the offer allow you to understand which course worked.
For a billing event, keep the purchased product, the store, the production or test environment, the transaction date and the necessary identifiers for the reconciliation. Keep the billing event ID to process new deliveries of the same event without recounting them. To add the income, set a reference currency and document your agreement on taxes, commissions and refunds.
The classic trap is account creation after the paywall. The app saved the view under an anonymous ID, and then the payment is found under the account ID. If the two are never linked, you can have a view in PostHog and a payment in RevenueCat without being able to reconstruct the route. Test this case with a new account, even in both tools.
3. Reconcile the 120 trials and 95 trials
Start by bringing the two digits back to the same perimeter. Check the app, store, time zone, environment, period and unit. If RevenueCat shows the trials Started during the week, compare this figure to trials started during the same week. A cohort of new users of the week with seven days to convert answers another question.
Next, export the rows and reconcile them by user ID and, if available, by transaction or event ID. Look for specific cases that explain the difference. Here is a fictitious connection.
| What you find in PostHog | Case |
|---|---|
| Confirmed trials that you find in billing | 95 |
| Additional lines due to confirmed duplicates | 12 |
| Start of purchase journey without confirmed trial | 8 |
| Confirmed trials in sandbox | 5 |
| Total lines in the initial report | 120 |
You can now explain the gap. 95 is the number of production trials confirmed in this example. The 8 beginnings of purchase without confirmation remain interesting if you are looking for a problem between the click and the validation. They have their place in another stage of the funnel.
Take control the other way, too. If RevenueCat contains transactions that are missing from PostHog, look for an integration failure, a non-close-up identifier, or a turnaround time. Calculate how many transactions remain unmatched before using the funnel to decide.
4. Use the right denominator for each decision
With 1,000 new users, 500 unique views of the paywall, and 95 confirmed trials from those views on the selected window, you get two rates.
- Trials per first open: 95 ÷ 1,000 = 9.5%. This measures the result over the entire course.
- Tests per user exposed to paywall: 95 ÷ 500 = 19%. This measures the conversion among those who have reached the offer.
If your variant moves the paywall earlier, it can change the population that sees the screen. To decide which variant creates the most value, compare All assigned users, including those who never reach the paywall. Then use the rate among exposed people to understand where the effect is occurring. For the transition from trial to pay, give the trials time to mature and count the first payment on a defined window.
See how to compare income by cohort to D30.
5. Check the tracking before running the test
Take a few test accounts and follow four end-to-end journeys: a cancelled purchase before confirmation, a trial that converts, a direct purchase, and a refund. Add the anonymous path to account if your onboarding allows it. For each scenario, compare what appears in the app with what analytics and billing receive.
Your team must be able to explain three things before reading the results: who entered the test, what offer was displayed and what payments actually arrived. If you can’t answer any of them, start by fixing this step. It’s often the work that unlocks the next test.
The monetization audit checklist helps you check the rest of the journey. Once the data is reliable, our growth team can work alongside yours to prioritize and measure the next onboarding or paywall experiment.