RevenueCat integrations
for app funnel analytics.
Connect one webhook and every trial, renewal and refund lands on the onboarding and paywall funnel of the device that made it.
- Native Swift
- Native Android
- Flutter
- React Native
- RevenueCat
- Superwall
- Revenue joined to the devicePurchases land on the timeline of the device that bought, and revenue splits by country and pricing tier.
- Trials, renewals, refundsTrial starts, trial conversions, refunds and one-time purchases arrive from RevenueCat as rc_* events.
- Signed and retry-safeRaw-body HMAC signing checks every delivery, and RevenueCat's event id is stored uniquely so retries never double-count.
What the RevenueCat webhook adds to the funnel
Onboarding
Acquisition
Outcomes
17
started
cohort outcomes
50% churn by
7.0d
churn paths
- cancelled
- 0
- expired
- 1
Apple Ads
Devices
Events
How is Workout Tracker doing? Show me the numbers and where we’re losing users.
activationpal.list_apps()└ Workout Tracker id: "workout-tracker"
activationpal.get_stats( app: "workout-tracker", range: "30d" )└ Snapshot received · installs, revenue, onboarding, paywall
WORKOUT TRACKER · LAST 30 DAYS revenue $389.46 ↑60% installs 739 ↑45% conversion 5.8% 43 purchases installs ▆▅▅▆▆██▆▆▇▇▅▅▆▇▇▇█▇▇▇▆ revenue ▁▄▄▁▁▂▁▂▂▄▄▁▁▅▁█▁▅▁▅▂▆ Oct 22 → Nov 20 ONBOARDING installed 739 100% █████████ your goal 701 95% █████████ experience lev 656 89% ████████░ weekly schedul 611 83% ███████░░ notifications 569 77% ███████░░ completed 544 74% ███████░░
Biggest leak: “experience level” loses 45 users (6% of arrivals). Installs are up 45%. Test a shorter version before increasing spend.
Which markets are actually making money?
MARKET INST REVENUE US United States 210 $127.88 DE Germany 53 $67.95 GB United Kingdom 74 $59.93 CA Canada 34 $19.99 organic 657 $327.51 apple ads 82 $61.95
Revenue is concentrated in United States. Scale only where revenue per install supports the acquisition cost.
Join revenue to devices with the RevenueCat user id
SDK events carry a device id and RevenueCat events carry the RevenueCat app user id. Pass the app user id to configure and the two meet on one timeline.
Swift
Purchases.configure(withAPIKey: "appl_YOUR_RC_KEY")
ActivationPal.configure(
app: "myapp",
key: "ap_pk_YOUR_KEY",
userId: Purchases.shared.appUserID
)Android
Purchases.configure(
PurchasesConfiguration.Builder(this, "goog_YOUR_RC_KEY").build()
)
ActivationPal.configure(
context = this,
app = "myapp",
key = "ap_pk_YOUR_KEY",
userId = Purchases.sharedInstance.appUserID,
)Flutter
await Purchases.configure(PurchasesConfiguration(revenueCatKey));
final userId = await Purchases.appUserID;
await ActivationPal.configure(
app: 'myapp',
key: 'ap_pk_YOUR_KEY',
userId: userId,
);React Native
Purchases.configure({ apiKey: 'appl_YOUR_KEY' });
const userId = await Purchases.getAppUserID();
await ActivationPal.configure({
app: 'myapp',
key: 'ap_pk_YOUR_KEY',
userId,
});After a RevenueCat logIn or logOut, call ActivationPal.setUserId with the new app user id. Full setup: Swift, Android, Flutter and React Native / Expo.
Set up the webhook with HMAC signing
- In RevenueCat, open Integrations, then Webhooks, then Add new configuration, and name it.
- Paste the app-specific webhook URL from the ActivationPal setup checklist.
- Send events for production purchases and leave event types unfiltered.
- Turn on HMAC webhook signing and paste the signing secret into the setup checklist. ActivationPal encrypts it at rest and never returns it after saving. RevenueCat shows the secret once, at creation or rotation.
The checklist shows secret saved until the first production event arrives. Read the RevenueCat webhook setup guide or RevenueCat's webhook documentation.
One revenue source per app
If Superwall shows your paywalls and RevenueCat handles purchases, connect the RevenueCat webhook only, so no purchase is counted twice. A product shipped separately on iOS and Android is two ActivationPal apps, each with its own webhook. See RevenueCat vs Superwall for the roles.
What ActivationPal ingests from RevenueCat
Each lifecycle event is stored as rc_ plus the lowercased RevenueCat type:
rc_initial_purchaserc_renewalrc_cancellationrc_uncancellationrc_expirationrc_billing_issuerc_non_renewing_purchaserc_product_changerc_subscription_pausedrc_subscription_extendedrc_refund_reversedrc_transfer
A trial start is counted as a trial, not revenue. A trial conversion is counted as new-subscriber revenue, not a renewal. Refunds and one-time purchases have their own lines. Revenue arrives only through the RevenueCat or Superwall webhook.
Event details: RevenueCat webhook events. Metrics built on them: subscription analytics and paywall analytics. Before the paywall: onboarding funnel analytics.
RevenueCat integrations FAQ
How do I connect RevenueCat to ActivationPal?
Add a webhook in RevenueCat under Integrations, paste the app-specific URL from the ActivationPal setup checklist, turn on HMAC webhook signing and save the signing secret in the checklist. The RevenueCat webhook guide has the full steps.
Why are my RevenueCat purchases not on a user timeline?
No user id was passed to configure. The rc_* events still arrive and total correctly, but the join to the device stays empty until you pass the RevenueCat app user id.
Do sandbox purchases count?
No. Sandbox events are stored as debug, outside release numbers, so set the webhook environment to production purchases.
Can I use RevenueCat and Superwall in the same app?
Each app has one revenue source. If Superwall shows your paywalls and RevenueCat handles purchases, connect the RevenueCat webhook only. RevenueCat vs Superwall explains how the two roles differ.
Does a webhook retry double-count a purchase?
No. RevenueCat's event id is stored uniquely. ActivationPal answers invalid or transiently failed deliveries with a non-2xx status so RevenueCat retries them.