Connecting Recurly to Mixpanel
Recurly is built around keeping subscriptions alive, which means a large share of the revenue it recovers comes from payments that failed and were retried rather than from anything marketing did. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Recurly subscription before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Recurly to Mixpanel: subscription lifecycle on the app's distinct_id
Send Recurly billing events to Mixpanel on the same distinct_id as the app, ideally the Recurly account code, never the webhook email. Use Trial Started, Subscription Started, Payment Failed, Payment Recovered, Renewed and Canceled, with the transaction or notification ID as $insert_id and the real event time. For B2B, attach events to a company group where available.
Mixpanel's job here is the trial-to-paid funnel and what happens after: did users who reached a feature convert, and do failed payments follow low usage. That needs Recurly's billing events on the same distinct_id the app uses. Set it from your app user ID, ideally the Recurly account code, and never from the email in the webhook, or billing events land on a profile with no product activity.
Send a small set of named events: Trial Started, Subscription Started at first successful payment, Payment Failed, Payment Recovered, Renewed, Canceled. Keep Subscription Started as the only one any acquisition report counts. Use the Recurly transaction or notification ID as $insert_id, and set event time to when the billing event happened, because delayed or backfilled webhooks would otherwise appear as activity on the day your job ran. Update profile properties for plan and status so cohorts can filter on them.
For B2B products, one Recurly account often represents a company with several users. Check whether Group Analytics is on your Mixpanel plan; if so, send billing events with the company group key so the subscription attaches to the account rather than to whichever user happened to enter the card. Without it, store the account code as a property on every user of that company.
Recurly → Mixpanel · what breaks
Why this join usually fails — Recurly → Mixpanel
- 01
The distinct_id never reaches Recurly
Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.
- 02
Dunning recovery counted as acquisition
A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.
- 03
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Recurly → Mixpanel · the fix
What working looks like — Recurly → Mixpanel
The distinct_id on every subscription
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
Recurly → Mixpanel · architecture
How Recurly and Mixpanel actually connect
- 1
Recurly holds the truth
Dunning recovery is Recurly's core product. Revenue rescued from a declined card three days after it failed is real money and it is not a conversion — attributing it to whatever campaign is running that week is the standard mistake here.
- 2
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Recurly subscription.
- 4
The event source decides reliability
Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
- 5
Deduplication at the destination
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Recurly → Mixpanel · normal or broken
Working vs. broken, side by side — Recurly → Mixpanel
Normal, not a fault
The distinct_id present on the subscription
Sent from the Recurly subscription webhook
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Actually broken
The distinct_id missing on most records
Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all.
Sent from the browser
A retried card that succeeds on day three looks identical to a new subscription in most exports. On a mature book that recovery is a meaningful share of monthly revenue and none of it was bought.
Counted twice, or not at all
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
Recurly → Mixpanel · diagnose
Diagnostic order — Recurly → Mixpanel
- 01
Count subscriptions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Split subscription events into new, renewal and recovered
Three categories, three owners. Until they are separated, no acquisition number is readable.
- 04
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
Recurly → Mixpanel · prove
How it gets proven — Recurly → Mixpanel
Source of truth
Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.
- The distinct_id confirmed present on a live subscription.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- New subscription starts reconciled against imported conversions, with recovered revenue reported separately.
Recurly → Mixpanel · free audit
What we check in the free audit
- Count subscriptions carrying the distinct_id
- Follow one real conversion end to end
- Split subscription events into new, renewal and recovered
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.
Free30 minutesNo obligation
Recurly → Mixpanel · when not to buy
When you don't need this — Recurly → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the distinct_id.
- If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription integration.
- If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
Recurly → Mixpanel · what we deliver
What gets built — Recurly → Mixpanel
Identifier capture into Recurly
Capture on your own domain, persist against the account, and attach to the subscription so a renewal or a recovery can still be traced without being credited as new.
Event source: the Recurly subscription webhook
Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
Dispatch to Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
Reversals where they exist
Cancellations inside the first billing period reverse, and so should subscriptions that never recover from a failed first charge.
Written guarantee
95%+ tracking accuracy
Measured against Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Recurly → Mixpanel questions, answered
Yes, as their own event. It shows whether failed payments follow low product usage, but keep it out of any acquisition funnel.
The same user ID your app's Mixpanel SDK identifies with, ideally matching the Recurly account code. The webhook email will create a separate profile.
Almost always because the distinct_id never reached the Recurly subscription. Checkout may run through Recurly's hosted pages, and the renewal that actually matters happens months later with no browser session at all. Measure coverage before debugging the dispatch.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
The Recurly subscription webhook. Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on Recurly → Mixpanel
- Stripe → MixpanelConnecting Stripe to Mixpanel
- PayPal → MixpanelConnecting PayPal to Mixpanel
- Shopify → MixpanelConnecting Shopify to Mixpanel
RELATED GUIDES
Where Recurly → Mixpanel fits in the rest of your tracking
- Affirm → MixpanelConnecting Affirm to Mixpanel
- GoCardless → MixpanelConnecting GoCardless to Mixpanel
- Chargebee → MixpanelConnecting Chargebee to Mixpanel
- Recurly → AmplitudeConnecting Recurly to Amplitude
- Recurly → MatomoConnecting Recurly to Matomo
- Financial servicesConversion tracking for financial services, built for the compliance review
- Maxio → MixpanelConnecting Maxio to Mixpanel
- Square → MixpanelConnecting Square to Mixpanel
Free · 30 min
Get Recurly and Mixpanel joined properly
Free30 minutesNo obligation
