Connecting Recurly to Segment
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. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Recurly subscription before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Recurly to Segment: keep renewals out of the ad destinations
Build your own Segment track calls from Recurly webhooks, with userId equal to your app user ID. Send Order Completed only for a new subscription's first successful payment, with the Recurly invoice number as order_id, revenue, currency, stored click IDs, and a messageId built from the transaction ID. Give renewals and recoveries distinct names so ad destinations never receive them.
Segment's catalog has listed Recurly as a cloud source that brings billing objects into a warehouse; confirm whether it is still offered and whether its data reaches event destinations or only the warehouse. For ad platforms you will usually want your own server-side track calls built from Recurly webhooks, where you control naming and identity.
The join is userId equal to your app's user ID, ideally the Recurly account code. Send Order Completed only for a new subscription's first successful payment, with order_id set to the Recurly invoice number, revenue and currency, and the click IDs stored on the account as properties. Build the messageId from the Recurly transaction ID so a redelivered webhook collapses into one event instead of fanning out twice.
The way this pair breaks is fan-out of renewals. If renewals and recoveries flow through Segment under the same event name as new subscriptions, every ad destination mapped to that event reports them as conversions at once. Use distinct names such as Subscription Renewed and Payment Recovered, map only the new-subscription event to ad destinations, and let the warehouse receive everything. Pass the user's consent state in context so destinations that require it can drop the event.
Recurly → Segment · what breaks
Why this join usually fails — Recurly → Segment
- 01
The userId and anonymousId 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 bad event multiplied across every destination
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
- 04
Nothing reconciles afterwards
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Recurly → Segment · the fix
What working looks like — Recurly → Segment
The userId and anonymousId on every subscription
Conversions arriving in Segment
Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.
Reconciled against the source
Recurly → Segment · architecture
How Recurly and Segment 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
Segment needs a click to match
Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.
- 3
The identifier is the bridge
The userId and anonymousId, 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
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Recurly → Segment · normal or broken
Working vs. broken, side by side — Recurly → Segment
Normal, not a fault
The userId and anonymousId present on the subscription
Sent from the Recurly subscription webhook
Deduplicated correctly
Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.
Reconciles with the source
Actually broken
The userId and anonymousId 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
Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.
Nobody has reconciled it
Recurly → Segment · diagnose
Diagnostic order — Recurly → Segment
- 01
Count subscriptions carrying the userId and anonymousId
- 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
Check identity resolution before checking anything downstream
If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.
- 05
Read the match rate, not the success message
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
Recurly → Segment · prove
How it gets proven — Recurly → Segment
Source of truth
Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.
- The userId and anonymousId confirmed present on a live subscription.
- An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
- New subscription starts reconciled against imported conversions, with recovered revenue reported separately.
Recurly → Segment · free audit
What we check in the free audit
- Count subscriptions carrying the userId and anonymousId
- Follow one real conversion end to end
- Split subscription events into new, renewal and recovered
- Check identity resolution before checking anything downstream
- 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 → Segment · when not to buy
When you don't need this — Recurly → Segment
- Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the userId and anonymousId.
- If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription integration.
- If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.
Recurly → Segment · what we deliver
What gets built — Recurly → Segment
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 Segment
Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.
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 → Segment questions, answered
Segment has listed a Recurly cloud source; confirm it is still available and whether it feeds event destinations or only your warehouse.
Give renewals and recoveries their own event names and map only the new-subscription event to ad destinations.
Almost always because the userId and anonymousId 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.
Segment identifies people by anonymousId before they are known and userId afterwards, and the alias between them is what stitches a session to a customer. Click identifiers travel as event properties or traits rather than as a matching key — Segment does not match anything itself, it forwards. That distinction changes the whole design: get the identity resolution right and every downstream destination inherits it.
The Recurly subscription webhook. Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.
Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.
More on Recurly → Segment
- Stripe → SegmentConnecting Stripe to Segment
- PayPal → SegmentConnecting PayPal to Segment
- Shopify → SegmentConnecting Shopify to Segment
RELATED GUIDES
Where Recurly → Segment fits in the rest of your tracking
- Elavon → SegmentConnecting Elavon to Segment
- Checkout.com → SegmentConnecting Checkout.com to Segment
- Affirm → SegmentConnecting Affirm to Segment
- Recurly → BigQueryConnecting Recurly to BigQuery
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Sezzle → SegmentConnecting Sezzle to Segment
- Worldpay → SegmentConnecting Worldpay to Segment
- Zip → SegmentConnecting Zip to Segment
Free · 30 min
Get Recurly and Segment joined properly
Free30 minutesNo obligation
