
Stripe, RevenueCat, and Superwall purchases on one customer profile
Engineering guide to unifying scattered purchase events from Stripe, RevenueCat, and Superwall onto one Rheo customer profile for analytics and segments.
Purchase data scatters fast. iOS subscriptions land in RevenueCat. A marketing site sells annual plans through Stripe. Superwall presents the paywall and fires its own analytics hooks. Growth asks for "customers who upgraded on web after installing from Meta" and engineering opens four dashboards.
This post explains why purchases fragment across systems, how to connect Stripe, RevenueCat, and Superwall to Rheo, identity matching rules that prevent duplicate profiles, what Analytics reports look like afterward, and why Convert paywall nodes still delegate presentation to RC or Superwall: not Rheo billing.
Why purchases scatter
| Surface | Typical billing stack | Profile key |
|---|---|---|
| iOS in-app | RevenueCat + StoreKit | app_user_id |
| Android in-app | RevenueCat + Play Billing | Same RC user |
| Paywall step | Superwall or RC Paywalls, designed into the flow in Rheo Convert | Purchase and presentation |
| Web checkout | Stripe Customer + Subscription | stripe_customer_id |
| Restore / family | Store APIs via RC | Linked to RC user |
Each system is correct locally. None was designed to be your company's only customer graph. Analytics and lifecycle tools need one id that accumulates:
- First-touch acquisition
- Onboarding and flow history
- Every purchase and entitlement change
- Segments for Engage
Rheo is that graph for growth workflows: not a replacement ledger for finance.
What Rheo does and does not do
| Responsibility | Owner |
|---|---|
| Charge cards, invoices, tax | Stripe |
| Mobile entitlements, renewals, refunds | RevenueCat |
| Paywall templates, paywall A/B UI | Superwall (or RC Paywalls) |
| Flow design and testing, including the paywall step | Rheo Convert |
| Unified profile, funnel + revenue analytics | Rheo Analytics |
| Lifecycle automations on profile state | Rheo Engage |
Rheo does not replace RevenueCat, Superwall, or Stripe. It connects them so a trial on iOS and an upgrade on Stripe can appear on one profile when identity is aligned.
Connect each integration
RevenueCat
- Configure
Purchases.configureat app launch with your RC API keys. - In Rheo dashboard: App settings → Integrations → RevenueCat with offering defaults for paywall flow nodes.
- Use a stable Rheo
userIdaligned with RCapp_user_id(same string recommended).
Paywall nodes in flows invoke your RC integration (react-native-purchases-ui or equivalent). Outcomes map to flow branches: see How to use Rheo with RevenueCat.
Events Rheo cares about for analytics:
- Trial started
- Purchase completed
- Restore completed
- Subscription renewed or canceled (via integration/webhook paths as configured)
Superwall
Superwall owns paywall presentation when you standardize on it for storefront UI. Rheo connects so:
- Paywall steps in a flow can trigger Superwall where your integration supports it, or
- You run Superwall placements in parallel while Rheo owns upstream onboarding; purchase outcomes still sync via RC as entitlement source of truth in most stacks.
Document which layer fired the purchase event to avoid duplicate analytics. Common pattern: Superwall shows, RevenueCat records transaction, Rheo records step outcome + forwarded billing signal.
Stripe
For web or hybrid apps:
- Connect Stripe in Rheo integrations with appropriate keys/webhooks.
- On checkout completion, map
stripe_customer_idto the same RheouserIdused in the mobile app when users link accounts. - Forward
customer.subscription.created,updated, anddeleted(or equivalent) so web MRR appears beside mobile trials on one profile.
Account linking is the hard part: email login, magic link, or explicit "link subscription" screen in-app. Without it, web and mobile remain two profiles until merged.
Identity matching rules
| Rule | Recommendation |
|---|---|
| Single canonical id | One Rheo userId per human customer |
| RC alignment | Purchases.logIn(rheoUserId) when user is identified |
| Stripe alignment | Store rheo_user_id in Stripe Customer metadata |
| Anonymous install | Generate Rheo id at first open; alias at signup |
| Merge policy | Signup/login merges anonymous history; document edge cases |
Anti-patterns:
- New random id per session
- Different ids in RC vs Rheo vs Stripe metadata
- Creating a second profile on every restore
Test matrix:
| Scenario | Expected profile |
|---|---|
| Install → trial on RC | One profile, mobile purchase |
| Web Stripe buy → app login same email | Merged profile |
| Restore on new device | Same profile if same userId login |
Analytics reports after unification
With purchases on one profile, Analytics supports:
| Report | Example question |
|---|---|
| Revenue by acquisition channel | Did Meta installs pay on web or iOS? |
| Funnel to first purchase | Which step blocks trial for ASA users? |
| Cross-surface LTV directional | Web annual + mobile add-on |
| Segments | has_stripe_subscription AND trial_started_iOS |
Break down by media_source, campaign, and flow variant. Export to warehouse if finance needs audited numbers; Rheo focuses on growth decisions, not GAAP reporting.
Retention cohorts can filter paying users only: day-7 among subscribers vs all installs.
Convert paywall nodes still use RC / Superwall
Engineering teams sometimes ask whether unifying profiles means Rheo becomes the paywall.
No. Convert flow nodes declare when and in what context users see a paywall:
onboarding_step_3 → decision (intent) → paywall_node → branch on outcome
The paywall node calls:
- RevenueCat for native offerings UI, or
- Superwall for template-based paywalls, per your integration
Rheo records surface_presented, surface_outcome, and links billing events to the profile. Entitlements remain in RC; Stripe subscriptions remain in Stripe.
Experimentation example:
- Variant A: RC paywall after three screens
- Variant B: Superwall campaign on screen two for one segment only
Read lift in Analytics on trial and revenue; do not fork entitlement logic into Rheo.
Webhooks and server-side truth
Client-reported outcomes are enough for growth analytics and UX branching. Entitlement enforcement for premium APIs should use server-side checks:
- RevenueCat webhooks → your backend
- Stripe webhooks → your backend
Rheo may consume webhook-derived events when configured; mobile apps should still respect RC/Stripe as authority for gating features.
| Event source | Use for |
|---|---|
| Client SDK outcome | Immediate branch in flow |
| RC / Stripe webhook | Server gates, finance, fraud |
Troubleshooting
| Symptom | Check |
|---|---|
| Double revenue on profile | Dedupe rules; one billing source per transaction |
| Stripe purchase missing | Customer metadata rheo_user_id; webhook delivery |
| RC trial missing | app_user_id mismatch; integration enabled |
| Superwall shows, RC empty | Purchase not finalized; user canceled |
| Two profiles one person | Merge on login; audit id generation |
Related reading
- Rheo is a growth platform
- Product analytics with revenue attribution
- Where a flow platform fits in your subscription stack
- RevenueCat vs Superwall: presentation vs billing focus
Unifying Stripe, RevenueCat, and Superwall on one Rheo customer profile turns scattered receipts into one growth story: how users found you, what path they walked, and how they paid: without replacing the tools that actually bill them.