Skip to main content
WooCommerce Subscriptions → SegmentIntegration guide

Connecting WooCommerce Subscriptions to Segment

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

WooCommerce Subscriptions in Segment: renewals under their own name

Send only the first order of a new WooCommerce subscription to Segment as Order Completed, and renewals as a separate event like Subscription Renewed, so ad destinations don't credit every billing cycle. Use the WordPress user ID as userId with identify at checkout, derive messageId from the order ID, and check each destination's event mapping after setup.

Segment's ecommerce spec gives destinations Order Completed, and many ad destinations map that event straight to a purchase conversion. That is exactly why a WooCommerce Subscriptions store must not send renewal orders as Order Completed: every connected ad platform would credit itself for each billing cycle. Send the first order of a new subscription as Order Completed and renewals as a separate event, such as Subscription Renewed, which ad destinations ignore and analytics destinations keep.

Use the WordPress user ID as userId, since subscriptions require an account, and call identify in the browser at checkout with the same value so the anonymousId holding the UTMs merges into the subscriber. Send server events from the plugin's subscription and renewal-payment hooks, with messageId derived from the order ID so a re-fired hook is dropped rather than multiplied across destinations.

Carry the click IDs captured on the parent order as properties of the first Order Completed only. Add Subscription Cancelled and payment-failure events with the subscription ID; warehouse and email destinations need them even though ad destinations do not. Check each destination's event mapping once after setup, because a default mapping that includes every Order event undoes the separation.

WooCommerce Subscriptions → Segment · what breaks

Why this join usually fails — WooCommerce Subscriptions → Segment

  1. 01

    The userId and anonymousId 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

    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.

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

WooCommerce Subscriptions → Segment · the fix

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

WooCommerce Subscriptions → Segment · architecture

How WooCommerce Subscriptions and Segment 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

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

    The identifier is the bridge

    The userId and anonymousId, 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

    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.

WooCommerce Subscriptions → Segment · normal or broken

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

Normal, not a fault

  • The userId and anonymousId present on the subscription

  • Sent from the WooCommerce subscription record

  • 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

    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

    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

WooCommerce Subscriptions → Segment · diagnose

Diagnostic order — WooCommerce Subscriptions → Segment

  1. 01

    Count subscriptions carrying the userId and anonymousId

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

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

WooCommerce Subscriptions → Segment · prove

How it gets proven — WooCommerce Subscriptions → Segment

Source of truth

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

  • 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 subscriptions reconciled against imported conversions, with renewal orders demonstrably excluded.

WooCommerce Subscriptions → Segment · free audit

What we check in the free audit

  • Count subscriptions carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Compare order count against new subscription count
  • Check identity resolution before checking anything downstream
  • 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 → Segment · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the userId and anonymousId.
  • Stores selling only one-time products do not generate renewal orders and are unaffected.
  • 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.

WooCommerce Subscriptions → Segment · what we deliver

What gets built — WooCommerce Subscriptions → Segment

  • 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 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 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 → Segment questions, answered

As their own event, such as Subscription Renewed, not Order Completed, so ad destinations mapping Order Completed do not count renewals.

Free · 30 min

Get WooCommerce Subscriptions and Segment joined properly

Free30 minutesNo obligation