Skip to main content
Donorbox → MixpanelIntegration guide

Connecting Donorbox to Mixpanel

Donorbox is donation forms for nonprofits, where the recurring donor is worth many times the one-off gift and the two arrive through the same form. 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 Donorbox donation 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

Donorbox in Mixpanel: tying the gift to the visit that preceded it

Pass your Mixpanel distinct_id into a supported Donorbox form field, then send the gift server-side as one Donation event carrying amount, one-off or recurring, interval and form ID, with the donation ID as $insert_id. Check your project's ID management version before writing identify logic. The payoff is form-design insight, not ad spend.

Mixpanel's browser SDK runs on your page; the gift happens inside Donorbox's embed or popup. So the visitor who read your appeal has one distinct_id, and the donation, unless you do something about it, arrives with none. The fix is to pass your distinct_id into the Donorbox form through a field it supports (check which hidden or custom fields your plan allows), then send the donation server-side carrying that value.

How the anonymous visit and the identified donor merge depends on which ID management version your Mixpanel project uses, so check before you write the identify logic. Name the event once and keep it: one Donation event with amount, one-off or recurring, interval and form ID as properties, rather than separate names invented by whoever set up each campaign. Use the Donorbox donation ID as $insert_id so a retried webhook or Zap doesn't record the gift twice.

The payoff is funnel questions Donorbox's own reports don't answer: whether the popup form converts more visitors but fewer recurring donors than the embedded form, or whether visitors who read the impact page before giving choose monthly more often. Those answers move form design, not ad spend, which is the right job for Mixpanel here.

Donorbox → Mixpanel · what breaks

Why this join usually fails — Donorbox → Mixpanel

  1. 01

    The distinct_id never reaches Donorbox

    The donation form frequently renders in a Donorbox-hosted embed or popup, which does not share your page's storage.

  2. 02

    Recurring donors valued at one month

    It makes the most valuable acquisition you can achieve look like your smallest, and it steers campaigns toward one-off appeals that produce a single gift and no relationship.

  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.

Donorbox → Mixpanel · the fix

What working looks like — Donorbox → Mixpanel

  • The distinct_id on every donation

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

Donorbox → Mixpanel · architecture

How Donorbox and Mixpanel actually connect

  1. 1

    Donorbox holds the truth

    A monthly donor at twenty pounds is worth far more than a hundred-pound single gift and looks smaller in every report that counts donation value at the moment it arrives.

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

  4. 4

    The event source decides reliability

    Send one-off gifts at their amount and recurring plans at an annualized value you can defend from your own retention data.

  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.

Donorbox → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the donation

  • Sent from the Donorbox donation 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

Actually broken

  • The distinct_id missing on most records

    The donation form frequently renders in a Donorbox-hosted embed or popup, which does not share your page's storage.

  • Sent from the browser

    It makes the most valuable acquisition you can achieve look like your smallest, and it steers campaigns toward one-off appeals that produce a single gift and no relationship.

  • 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

Donorbox → Mixpanel · diagnose

Diagnostic order — Donorbox → Mixpanel

  1. 01

    Count donations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare the value of a recurring donor over a year against a single gift

    The gap is usually large enough to change which campaigns get funded.

  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.

Donorbox → Mixpanel · prove

How it gets proven — Donorbox → Mixpanel

Source of truth

Donorbox donations by date, split into one-off gifts and recurring plans.

  • The distinct_id confirmed present on a live donation.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Donations reconciled by type against imported conversions, with recurring plans valued on stated retention.

Donorbox → Mixpanel · free audit

What we check in the free audit

  • Count donations carrying the distinct_id
  • Follow one real conversion end to end
  • Compare the value of a recurring donor over a year against a single gift
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Donorbox donations by date, split into one-off gifts and recurring plans.

Get my free conversion tracking audit

Free30 minutesNo obligation

Donorbox → Mixpanel · when not to buy

When you don't need this — Donorbox → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred donations and count how many carry the distinct_id.
  • If you only take one-off gifts, this is a straightforward payment integration and the recurring complexity does not apply.
  • 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.

Donorbox → Mixpanel · what we deliver

What gets built — Donorbox → Mixpanel

  • Identifier capture into Donorbox

    Capture on your own domain before the embed loads and pass the identifier through the form's supported fields.

  • Event source: the Donorbox donation record

    Send one-off gifts at their amount and recurring plans at an annualized value you can defend from your own retention data.

  • 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 and cancelled recurring plans reverse.

Written guarantee

95%+ tracking accuracy

Measured against Donorbox donations by date, split into one-off gifts and recurring plans.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Donorbox → Mixpanel questions, answered

The gift happens inside Donorbox's embed, so a server event has no link to the browser's distinct_id unless you pass that ID into the form and send it back with the donation.

Free · 30 min

Get Donorbox and Mixpanel joined properly

Free30 minutesNo obligation