Skip to main content
GoCardless → AmplitudeIntegration guide

Connecting GoCardless to Amplitude

GoCardless is bank debit rather than card, which changes everything about timing — a mandate is set up now and money moves days later, repeatedly. 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 GoCardless mandate 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

GoCardless collections in Amplitude for real subscription cohorts

Send Amplitude the full GoCardless history: the active mandate as acquisition and each confirmed payment as revenue at the amount collected. Store your own user ID in customer or mandate metadata and send with it, never the GoCardless customer ID. Set event time to the charge date, use the payment ID as insert_id, and send failures separately.

Amplitude is one destination where every GoCardless collection should be sent, because revenue per cohort over time is exactly what it is for. The acquisition event is the mandate becoming active; each payment confirmed is a revenue event with price set to the amount actually collected and a revenue type such as renewal. Ad platforms should only see the mandate; Amplitude should see the whole collection history.

The join key has to be your own user ID, not GoCardless's customer ID. Put your app's user ID into the GoCardless customer or mandate metadata when you create the billing request, then look it up on every webhook and send the event with that user ID. If you send with the GoCardless customer ID instead, collections land on a brand-new Amplitude user and every retention chart shows payers who never used the product.

Timing matters more than usual. Bank debit payments are confirmed days after the charge date, and failures can arrive later still. Set the event time to the charge date rather than the webhook time, so revenue lands in the correct week, and use the GoCardless payment ID as insert_id so retried webhooks do not double revenue. Send failed collections and chargebacks as their own events with negative revenue, if your revenue charts are set up to net them.

GoCardless → Amplitude · what breaks

Why this join usually fails — GoCardless → Amplitude

  1. 01

    The user ID and device ID pair never reaches GoCardless

    Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.

  2. 02

    Days between the signup and the money

    Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.

  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.

GoCardless → Amplitude · the fix

What working looks like — GoCardless → Amplitude

  • The user ID and device ID pair on every mandate

  • 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

GoCardless → Amplitude · architecture

How GoCardless and Amplitude actually connect

  1. 1

    GoCardless holds the truth

    The mandate is the acquisition; each payment is a collection against it. A subscription business on direct debit should value the mandate, not the first collection.

  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 GoCardless mandate.

  4. 4

    The event source decides reliability

    Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.

  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.

GoCardless → Amplitude · normal or broken

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

Normal, not a fault

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

  • Sent from the GoCardless payment confirmed 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

    Bank debit has a mandatory notice period and a settlement lag measured in days, so the money event is always well after the click. The identifier must live on the mandate, because every subsequent payment references it rather than a browser session.

  • Sent from the browser

    Bank debit is not instant. The mandate is agreed today and the first collection clears later, which puts every naive page-based conversion at the wrong moment and the wrong value.

  • 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

GoCardless → Amplitude · diagnose

Diagnostic order — GoCardless → Amplitude

  1. 01

    Count mandates carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the identifier is on the mandate or only the first payment

    If it is on the payment, no later collection can be attributed — and later collections are most of the revenue.

  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.

GoCardless → Amplitude · prove

How it gets proven — GoCardless → Amplitude

Source of truth

GoCardless payments confirmed by charge date, against the mandate that authorised them.

  • The user ID and device ID pair confirmed present on a live mandate.
  • Revenue reconciled per transaction against your billing system, with identity merge behaviour verified across signup.
  • A collection weeks after setup confirmed traceable to the original mandate and click.

GoCardless → Amplitude · free audit

What we check in the free audit

  • Count mandates carrying the user ID and device ID pair
  • Follow one real conversion end to end
  • Check whether the identifier is on the mandate or only the first payment
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

GoCardless payments confirmed by charge date, against the mandate that authorised them.

Get my free conversion tracking audit

Free30 minutesNo obligation

GoCardless → Amplitude · when not to buy

When you don't need this — GoCardless → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred mandates and count how many carry the user ID and device ID pair.
  • If you take one-off bank payments with no mandate, this reduces to a much simpler integration.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

GoCardless → Amplitude · what we deliver

What gets built — GoCardless → Amplitude

  • Identifier capture into GoCardless

    Pass the click identifier into the mandate's metadata at setup, so all future collections trace back to the campaign that acquired the customer.

  • Event source: the GoCardless payment confirmed webhook

    Send the mandate setup as acquisition at expected lifetime value, and treat individual collections as reporting rather than as new conversions.

  • Dispatch to Amplitude

    The Amplitude HTTP V2 API, posted server-side with the identity, event type and properties.

  • Reversals where they exist

    Failed collections, chargebacks and cancelled mandates all exist and all should reduce the reported value.

Written guarantee

95%+ tracking accuracy

Measured against GoCardless payments confirmed by charge date, against the mandate that authorised them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

GoCardless → Amplitude questions, answered

From the payment confirmed webhook, server-side, using your own user ID stored in the GoCardless customer or mandate metadata. Fill the revenue fields and use the payment ID as insert_id.

Free · 30 min

Get GoCardless and Amplitude joined properly

Free30 minutesNo obligation