Skip to main content
WooCommerce Subscriptions → AmplitudeIntegration guide

Connecting WooCommerce Subscriptions to Amplitude

WooCommerce Subscriptions turns a store into a recurring business, and every renewal creates a real WooCommerce order — which is exactly why renewals get counted as sales. 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 WooCommerce 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

WooCommerce Subscriptions in Amplitude: renewals as retention

Amplitude is a destination where renewals belong. Send the initial purchase and every renewal server-side, tagged with revenueType new or renewal, under the WordPress user ID, also set in the browser at login, with insert_id from the order ID. Track trials, first paid renewals, cancellations and failed payments as separate events.

This is one of the few destinations where renewal orders belong, because Amplitude is measuring retention and lifetime revenue rather than acquisition. Send the initial subscription purchase and every renewal, distinguished by a property such as revenueType set to new or renewal, so cohort revenue includes renewals while acquisition charts filter them out.

WooCommerce Subscriptions requires a customer account, which gives you a stable key: send the WordPress user ID (or your own customer ID) as the Amplitude user ID, server-side, from hooks on the subscription and renewal payment. Call setUserId with the same value in the browser when the customer logs in or completes checkout, so pre-purchase sessions with their UTMs merge into the subscriber. Set insert_id to the order ID so a retried hook does not double count.

Fill price and quantity on every revenue event, in one currency. Free trials produce a zero-value first order, so track Trial Started and the first paid renewal as separate events, or trial-to-paid conversion is invisible. Send cancellations and failed renewal payments as events too; they are what makes Amplitude's retention charts mean anything for a subscription store.

WooCommerce Subscriptions → Amplitude · what breaks

Why this join usually fails — WooCommerce Subscriptions → Amplitude

  1. 01

    The user ID and device ID pair never reaches WooCommerce Subscriptions

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  2. 02

    Renewal orders indistinguishable from new sales

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  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.

WooCommerce Subscriptions → Amplitude · the fix

What working looks like — WooCommerce Subscriptions → 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

WooCommerce Subscriptions → Amplitude · architecture

How WooCommerce Subscriptions and Amplitude actually connect

  1. 1

    WooCommerce Subscriptions holds the truth

    A renewal is a full order in the orders table, indistinguishable from a new purchase unless you check the parent subscription. That is the trap.

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

  4. 4

    The event source decides reliability

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  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.

WooCommerce Subscriptions → Amplitude · normal or broken

Working vs. broken, side by side — WooCommerce Subscriptions → Amplitude

Normal, not a fault

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

  • Sent from the WooCommerce subscription record

  • 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

    Renewal orders are created by a scheduled task with no browser, no referrer and no session.

  • Sent from the browser

    This is the single most common WooCommerce Subscriptions error. Renewals are real orders in the same table, so a default order-based integration counts every one, and the conversion count inflates by exactly your retention rate.

  • 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

WooCommerce Subscriptions → Amplitude · diagnose

Diagnostic order — WooCommerce Subscriptions → 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 order count against new subscription count

    If orders substantially exceed new subscriptions, renewals are in your conversion feed.

  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.

WooCommerce Subscriptions → Amplitude · prove

How it gets proven — WooCommerce Subscriptions → Amplitude

Source of truth

New subscriptions by start date, held apart from the renewal orders they generate.

  • 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, with renewal orders demonstrably excluded.

WooCommerce Subscriptions → 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 order 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

New subscriptions by start date, held apart from the renewal orders they generate.

Get my free conversion tracking audit

Free30 minutesNo obligation

WooCommerce Subscriptions → Amplitude · when not to buy

When you don't need this — WooCommerce Subscriptions → Amplitude

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the user ID and device ID pair.
  • Stores selling only one-time products do not generate renewal orders and are unaffected.
  • If nobody is building cohorts or retention analysis, this is a large amount of instrumentation for reporting a dashboard already gives you.

WooCommerce Subscriptions → Amplitude · what we deliver

What gets built — WooCommerce Subscriptions → Amplitude

  • Identifier capture into WooCommerce Subscriptions

    Capture on the original purchase and store on the subscription, then filter renewals out of the conversion feed by parent subscription.

  • Event source: the WooCommerce subscription record

    Send the initial order of a new subscription at a defensible subscription value; renewals carry no acquisition value.

  • 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 New subscriptions by start date, held apart from the renewal orders they generate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

WooCommerce Subscriptions → Amplitude questions, answered

Yes, with a property marking them as renewals. Amplitude measures retention, so renewals are signal here, unlike in ad platforms.

Free · 30 min

Get WooCommerce Subscriptions and Amplitude joined properly

Free30 minutesNo obligation