Skip to main content
Recharge → MixpanelIntegration guide

Connecting Recharge to Mixpanel

Recharge holds the subscription, which means it holds the only complete record of what a Shopify subscription store actually earns over time. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Recharge subscription before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Recharge to Mixpanel: churn funnels on a stable distinct_id

Send Recharge subscription created, charge processed, skipped and cancelled events to Mixpanel server-side, using the Shopify customer ID your storefront passed to identify as distinct_id. Use the charge or subscription ID as $insert_id, add stored UTMs and click IDs to the created event, and check that Shopify apps are not sending the same renewal twice.

Mixpanel earns its place with Recharge when someone actually wants to know why subscribers leave: which products, which intervals, how many skips before a cancel. Send subscription created, charge processed, charge skipped and subscription cancelled (with the cancellation reason Recharge records) as events, and the funnels write themselves.

All of those except the first happen with no browser, so they must be sent server-side with the distinct_id you use for identified customers, normally the Shopify customer ID. That ID must be the one your storefront passed to identify at checkout, or the server events start a separate profile and the funnel from first visit to tenth renewal breaks at the moment of purchase. Use the Recharge charge or subscription ID as $insert_id, since Recharge webhooks can be delivered more than once.

Put the acquisition click identifiers and UTMs from the subscription metadata on the created event as properties, so retention can be split by the campaign that brought each subscriber in. If Shopify apps already push order events into the same project, make sure a renewal is not arriving twice under different names, one from Shopify and one from Recharge.

Recharge → Mixpanel · what breaks

Why this join usually fails — Recharge → Mixpanel

  1. 01

    The distinct_id never reaches Recharge

    The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.

  2. 02

    Renewals happen with no browser present

    Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.

  3. 03

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Recharge → Mixpanel · the fix

What working looks like — Recharge → Mixpanel

  • The distinct_id on every subscription

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

Recharge → Mixpanel · architecture

How Recharge and Mixpanel actually connect

  1. 1

    Recharge holds the truth

    Every charge creates a Shopify order, so the two systems should agree. Recharge is authoritative for the recurring relationship; Shopify is authoritative for what the store banked.

  2. 2

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Recharge subscription.

  4. 4

    The event source decides reliability

    Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.

  5. 5

    Deduplication at the destination

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

Recharge → Mixpanel · normal or broken

Working vs. broken, side by side — Recharge → Mixpanel

Normal, not a fault

  • The distinct_id present on the subscription

  • Sent from the Recharge subscription and charge webhooks

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    The identifier has to live on the subscription rather than the order. Every renewal creates a new order, so an identifier stored only on the first one can never be tied to any renewal — and renewals are where most of the revenue is.

  • Sent from the browser

    Charges run on a schedule with no customer there. Nothing that fires from a page can see them, and stores routinely report only acquisition and undercount total revenue by whatever their retention is worth.

  • Counted twice, or not at all

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

Recharge → Mixpanel · diagnose

Diagnostic order — Recharge → Mixpanel

  1. 01

    Count subscriptions carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether a subscription carries the identifier

    Not the order. If it is on the order only, renewals can never be attributed no matter what you build downstream.

  4. 04

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

Recharge → Mixpanel · prove

How it gets proven — Recharge → Mixpanel

Source of truth

Recharge's subscription and charge records, cross-checked against the Shopify orders they create.

  • The distinct_id confirmed present on a live subscription.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • A renewal confirmed to land wherever the written policy says it should, and a cancellation confirmed to reverse.

Recharge → Mixpanel · free audit

What we check in the free audit

  • Count subscriptions carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether a subscription carries the identifier
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Recharge's subscription and charge records, cross-checked against the Shopify orders they create.

Get my free conversion tracking audit

Free30 minutesNo obligation

Recharge → Mixpanel · when not to buy

When you don't need this — Recharge → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred subscriptions and count how many carry the distinct_id.
  • If you sell one-off products with a small subscription tail, the store's native integration may already be adequate. Measure the recurring share first.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

Recharge → Mixpanel · what we deliver

What gets built — Recharge → Mixpanel

  • Identifier capture into Recharge

    Capture the click identifier on the storefront and write it to the Recharge subscription's metadata at creation, so it is available on every subsequent charge.

  • Event source: the Recharge subscription and charge webhooks

    Send acquisition from subscription created, once, valued at expected lifetime. Renewals fire from charge processed and belong in your reporting rather than automatically in your bidding.

  • Dispatch to Mixpanel

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

  • Reversals where they exist

    Recharge exposes cancellation, which should reverse the lifetime value you claimed at acquisition. Almost nobody wires this, so reported subscriber value only ever rises.

Written guarantee

95%+ tracking accuracy

Measured against Recharge's subscription and charge records, cross-checked against the Shopify orders they create.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Recharge → Mixpanel questions, answered

Send a server-side event from the Recharge cancellation webhook with the customer's distinct_id and the cancellation reason as a property. Use the subscription ID in the $insert_id to avoid duplicates.

Free · 30 min

Get Recharge and Mixpanel joined properly

Free30 minutesNo obligation