Skip to main content
Recurly → AmplitudeIntegration guide

Connecting Recurly to Amplitude

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. Amplitude is built around behavioural cohorts, which makes the identity resolution and the event taxonomy load-bearing in a way they never are for an ad pixel. The join between them succeeds or fails on one thing: whether the user ID and device ID pair reaches the Recurly subscription before the conversion happens, because Amplitude can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Recurly to Amplitude: revenueType for new, renewal and recovered

Post each successful Recurly charge to Amplitude on your app user ID, ideally the account code, with price, quantity and revenueType new, renewal or recovered, based on the notification and prior failed attempts. Use the Recurly transaction ID as insert_id, never send events on email alone, and add cancellations and the first-touch click ID for churn cohorts.

This is one of the better-fitting pairs: a subscription product with an app the user logs into. The join key is your app's user ID, which ideally is the Recurly account code. If your team set account codes to something else at launch, store the app user ID in a Recurly custom field and resolve it before posting, because Recurly webhooks carry no device ID and no session.

Amplitude's revenue fields make the split Recurly demands easy to keep. Send each successful charge with price, quantity and a revenueType of new, renewal or recovered, derived from which Recurly notification fired and whether the invoice had a failed attempt first. Recovered payments then show as retained revenue rather than acquisition, and cohort revenue by acquisition source stays honest. Set insert_id to the Recurly transaction ID so webhook retries do not double-count.

The typical break: a server event sent with only an email or the account code creates a new Amplitude user who never merges with the app user, and the revenue sits on a ghost. Always send the user_id your SDK uses. Send cancellations and expirations as events too, and store the first-touch click ID as a user property, because churn by acquisition cohort is the question Amplitude is there to answer.

Recurly → Amplitude · what breaks

Why this join usually fails — Recurly → Amplitude

  1. 01

    The user ID and device ID pair 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.

  2. 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.

  3. 03

    Revenue events that carry no revenue

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  4. 04

    Nothing reconciles afterwards

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Recurly → Amplitude · the fix

What working looks like — Recurly → Amplitude

  • The user ID and device ID pair on every subscription

  • Conversions arriving in Amplitude

    The event lands on the user, joins their behavioural history, and becomes available for cohorts, funnels and retention.

  • Reconciled against the source

Recurly → Amplitude · architecture

How Recurly and Amplitude actually connect

  1. 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. 2

    Amplitude needs a click to match

    Amplitude needs a device or user identifier, an event type and its properties. Revenue events need the price and quantity fields specifically, or the revenue reporting stays empty while events flow normally.

  3. 3

    The identifier is the bridge

    The user ID and device ID pair, captured at the visit and carried into the Recurly subscription.

  4. 4

    The event source decides reliability

    Send new subscription starts at first successful payment. Renewals and dunning recoveries belong in separate figures.

  5. 5

    Deduplication at the destination

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

Recurly → Amplitude · normal or broken

Working vs. broken, side by side — Recurly → Amplitude

Normal, not a fault

  • The user ID and device ID pair present on the subscription

  • Sent from the Recurly subscription webhook

  • Deduplicated correctly

    Amplitude deduplicates on insert_id. Omit it and a retried batch is counted twice, which shows up as a phantom spike that someone will eventually build a hypothesis on.

  • Reconciles with the source

Actually broken

  • The user ID and device ID pair 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

    Amplitude will happily accept a purchase event with no price field. The event count looks correct, the funnel looks correct, and the revenue reporting stays at zero — which people usually discover a quarter later when someone asks what a cohort is worth.

  • Nobody has reconciled it

Recurly → Amplitude · diagnose

Diagnostic order — Recurly → Amplitude

  1. 01

    Count subscriptions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Split subscription events into new, renewal and recovered

    Three categories, three owners. Until they are separated, no acquisition number is readable.

  4. 04

    Check a purchase event for the price and quantity fields specifically

    Not whether the event arrived — whether the revenue fields are populated, in the exact names Amplitude expects.

  5. 05

    Read the match rate, not the success message

    Amplitude shows the event in the user's activity stream with its properties expanded. Read the properties, because an event that arrives without its revenue fields still looks like a success.

Recurly → Amplitude · prove

How it gets proven — Recurly → Amplitude

Source of truth

Recurly subscriptions by start date, with recovered and involuntary-churn revenue held apart from new business.

  • The user ID and device ID pair confirmed present on a live subscription.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • New subscription starts reconciled against imported conversions, with recovered revenue reported separately.

Recurly → Amplitude · free audit

What we check in the free audit

  • Count subscriptions carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Split subscription events into new, renewal and recovered
  • Check a purchase event for the price and quantity fields specifically
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recurly → Amplitude · when not to buy

When you don't need this — Recurly → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the user ID and device ID pair.
  • If your churn is mostly voluntary and you run no dunning, this collapses to an ordinary subscription integration.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Recurly → Amplitude · what we deliver

What gets built — Recurly → Amplitude

  • 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 Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recurly → Amplitude questions, answered

Server-side from Recurly webhooks to Amplitude's HTTP API, with price, quantity, revenueType and your app's user ID. Check Amplitude's integration catalog for a Recurly source on your plan as well.

Free · 30 min

Get Recurly and Amplitude joined properly

Free30 minutesNo obligation