Skip to main content
Stripe Billing → AmplitudeIntegration guide

Connecting Stripe Billing to Amplitude

Stripe Billing sits on top of Stripe payments, and the difference matters: a payment succeeding is not the same event as a subscription beginning, and most implementations wire the wrong one. 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 Stripe 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

Stripe Billing to Amplitude: renewals as revenue, not acquisition

Send every paid Stripe Billing invoice to Amplitude as a revenue event, with revenue type set from billing_reason: new, renewal, or expansion and contraction. Key events on your user ID stored in Stripe Customer metadata, use the invoice ID as insert_id, and take price and quantity from line items. Send trials without revenue, and refunds as negative revenue.

Amplitude is the one destination in this set where renewals should be sent. Ad platforms need one conversion per new subscription; Amplitude needs every paid invoice, because lifetime revenue per cohort is the reason to put Stripe data there. The distinction moves into the event: send every paid invoice as a revenue event, with a revenue type set from Stripe's billing reason, new for subscription_create, renewal for subscription_cycle, and expansion or contraction for subscription_update.

The join key is your own user ID, written into the Stripe customer's metadata when the customer is created. Webhooks arrive with no browser and no Amplitude device ID, so without that metadata the revenue lands on a new user with no acquisition history. Use the Stripe invoice ID as insert_id; Stripe retries webhooks, and a retried revenue event is a phantom spike in exactly the chart finance looks at.

Populate price and quantity from the invoice line items, not the invoice total, or multi-seat plans report one unit at the full price. Send trial starts as their own event with no revenue. Refunds and credit notes should go in as negative revenue against the same user; confirm how your Amplitude project handles negative values before relying on it.

Stripe Billing → Amplitude · what breaks

Why this join usually fails — Stripe Billing → Amplitude

  1. 01

    The user ID and device ID pair never reaches Stripe Billing

    Stripe Checkout takes the customer to a Stripe-hosted page, and trials mean the subscription and the first payment can be weeks apart.

  2. 02

    Every renewal firing as a new conversion

    The most common Stripe Billing error and the easiest to make, because payment success is the obvious webhook. It inflates conversion counts by exactly your retention rate, which makes long-lived customers look like a marketing achievement every month.

  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.

Stripe Billing → Amplitude · the fix

What working looks like — Stripe Billing → 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

Stripe Billing → Amplitude · architecture

How Stripe Billing and Amplitude actually connect

  1. 1

    Stripe Billing holds the truth

    Every renewal produces a successful payment intent. Wire the conversion to payment success and a customer who stays two years generates twenty-four conversions against one acquisition.

  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 Stripe subscription.

  4. 4

    The event source decides reliability

    Send the first successful payment on a new subscription, not every invoice. Trial starts belong on a separate lower-value action.

  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.

Stripe Billing → Amplitude · normal or broken

Working vs. broken, side by side — Stripe Billing → Amplitude

Normal, not a fault

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

  • Sent from the Stripe subscription lifecycle webhooks

  • 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

    Stripe Checkout takes the customer to a Stripe-hosted page, and trials mean the subscription and the first payment can be weeks apart.

  • Sent from the browser

    The most common Stripe Billing error and the easiest to make, because payment success is the obvious webhook. It inflates conversion counts by exactly your retention rate, which makes long-lived customers look like a marketing achievement every month.

  • 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

Stripe Billing → Amplitude · diagnose

Diagnostic order — Stripe Billing → Amplitude

  1. 01

    Count subscriptions carrying the user ID and device ID pair

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare monthly conversion count against new subscription count

    If conversions exceed new subscriptions, renewals are being counted and the acquisition figure is wrong by that amount.

  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.

Stripe Billing → Amplitude · prove

How it gets proven — Stripe Billing → Amplitude

Source of truth

Stripe subscriptions by creation date, separated from the invoice payments that recur against them.

  • 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 subscriptions reconciled against imported conversions for a settled month, with renewals demonstrably excluded.

Stripe Billing → 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
  • Compare monthly conversion count against new subscription count
  • Check a purchase event for the price and quantity fields specifically
  • Read the match rate, not the success message

Checked against

Stripe subscriptions by creation date, separated from the invoice payments that recur against them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Stripe Billing → Amplitude · when not to buy

When you don't need this — Stripe Billing → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the user ID and device ID pair.
  • If you take one-off payments and no subscriptions, the plain Stripe integration covers you and this adds nothing.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

Stripe Billing → Amplitude · what we deliver

What gets built — Stripe Billing → Amplitude

  • Identifier capture into Stripe Billing

    Capture on your own domain and pass the identifier into the Checkout session metadata, so it lands on the customer and survives to the first real charge.

  • Event source: the Stripe subscription lifecycle webhooks

    Send the first successful payment on a new subscription, not every invoice. Trial starts belong on a separate lower-value action.

  • 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 period reverse.

Written guarantee

95%+ tracking accuracy

Measured against Stripe subscriptions by creation date, separated from the invoice payments that recur against them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Stripe Billing → Amplitude questions, answered

Yes. Send every paid invoice with a revenue type for new, renewal or expansion, because lifetime revenue by cohort is the point of the integration.

Free · 30 min

Get Stripe Billing and Amplitude joined properly

Free30 minutesNo obligation