Skip to main content
EDD → MixpanelIntegration guide

Connecting Easy Digital Downloads to Mixpanel

Easy Digital Downloads sells digital products with near-zero marginal cost, which makes refund rate and licence renewal the two variables that decide whether a campaign was worth running. 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 EDD payment 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

Easy Digital Downloads to Mixpanel: one user from free to paid

Use the Easy Digital Downloads customer ID as Mixpanel's distinct_id, calling identify at checkout so anonymous browsing merges. Send purchases server-side from the payment record with $insert_id set to the order ID. Give free downloads and renewals their own event names, with renewals carrying the original order ID, and send refunds as a separate event.

For software sold through EDD, Mixpanel's job is the funnel from first visit to free download or trial, to paid license, and then into product use if the plugin or app reports usage. That funnel crosses guest checkout, which creates an EDD customer without a WordPress user. Decide up front what distinct_id means: the EDD customer ID is usually the stable choice, with identify called at checkout so earlier anonymous browsing merges into it.

Name events so free and paid can't be confused. A zero-value order for a free download should be its own event, not a Purchase with an amount of zero, or conversion rates look excellent and mean nothing. Renewals should be a distinct event too, carrying the original order ID, so renewal rate can be charted against the UTM properties Mixpanel stored at first touch.

Send from the EDD payment record server-side and set $insert_id to the order ID, so a retried request after a gateway delay does not create a second purchase. PayPal and other off-site gateways return the buyer later or not at all, which is why the confirmation page is not a reliable trigger. Send refunds as their own event against the same distinct_id rather than trying to delete the original purchase.

EDD → Mixpanel · what breaks

Why this join usually fails — EDD → Mixpanel

  1. 01

    The distinct_id never reaches EDD

    Checkout is on your own site, which helps, but licence renewals arrive automatically a year later.

  2. 02

    Refund rate ignored on a high-margin product

    Digital products refund at rates well above physical goods on some categories. Reporting gross sales without reversals overstates a campaign by exactly that rate, and the rate differs by traffic source.

  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.

EDD → Mixpanel · the fix

What working looks like — EDD → Mixpanel

  • The distinct_id on every purchase

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

    Easy Digital Downloads's own records are the reference, not either dashboard.

EDD → Mixpanel · architecture

How EDD and Mixpanel actually connect

  1. 1

    Easy Digital Downloads holds the truth

    Software and digital product sales carry high margin and high refund rates. The gross figure and the kept figure diverge more here than in physical goods.

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

  4. 4

    The event source decides reliability

    Send completed new purchases at value; renewals report as retained revenue.

  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.

EDD → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the purchase

    Visible on the record itself in Easy Digital Downloads, not merely captured somewhere on the site.

  • Sent from the EDD payment record

  • 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

    Mixpanel's count and Easy Digital Downloads's records agree within a few percent over a closed window.

Actually broken

  • The distinct_id missing on most records

    Checkout is on your own site, which helps, but licence renewals arrive automatically a year later.

  • Sent from the browser

    Digital products refund at rates well above physical goods on some categories. Reporting gross sales without reversals overstates a campaign by exactly that rate, and the rate differs by traffic source.

  • 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

    The dashboard shows a number and no one has compared it to Easy Digital Downloads.

EDD → Mixpanel · diagnose

Diagnostic order — EDD → Mixpanel

  1. 01

    Count purchases carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure refund rate by campaign

    It varies more than most sellers expect, and it is the difference between a profitable channel and a break-even one.

  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.

EDD → Mixpanel · prove

How it gets proven — EDD → Mixpanel

Against Easy Digital Downloads's own records, not against either platform's dashboard.

Source of truth

EDD completed payments by date, split into new purchases and licence renewals.

  • The distinct_id confirmed present on a live purchase.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Net completed payments reconciled after the refund window against imported conversions.

EDD → Mixpanel · free audit

What we check in the free audit

  • Count purchases carrying the distinct_id
  • Follow one real conversion end to end
  • Measure refund rate by campaign
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

EDD completed payments by date, split into new purchases and licence renewals.

Get my free conversion tracking audit

Free30 minutesNo obligation

EDD → Mixpanel · when not to buy

When you don't need this — EDD → Mixpanel

  • If Mixpanel already reports conversions that reconcile against Easy Digital Downloads's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred purchases and count how many carry the distinct_id.
  • If your refund rate is very low and uniform, gross reporting is close enough.
  • 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.

EDD → Mixpanel · what we deliver

What gets built — EDD → Mixpanel

  • Identifier capture into EDD

    Capture on landing and store on the customer so renewals resolve to the original acquisition without being counted as new.

  • Event source: the EDD payment record

    Send completed new purchases at value; renewals report as retained revenue.

  • Dispatch to Mixpanel

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

  • Reversals where they exist

    Refunds reverse, and on digital products the refund window is a real cost.

Written guarantee

95%+ tracking accuracy

Measured against EDD completed payments by date, split into new purchases and licence renewals.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

EDD → Mixpanel questions, answered

Hook the completed payment in EDD and send a purchase event with the customer's distinct_id and the order ID as $insert_id. Don't rely on the confirmation page, which off-site gateways can skip.

Free · 30 min

Get EDD and Mixpanel joined properly

Free30 minutesNo obligation