Skip to main content
Classy → MixpanelIntegration guide

Connecting Classy to Mixpanel

Classy runs campaign and peer-to-peer fundraising, where a large share of donations come from a supporter's friends — people your advertising never touched and never could. 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 Classy 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

Classy gifts in Mixpanel on the right distinct_id, not a stranger

Send the donation to Mixpanel from your server after Classy reports the transaction, not from a thank-you redirect. Pass your user or member ID into the donation link and use exactly that as distinct_id, with one event name such as donation_completed, the Classy transaction ID as $insert_id, and a fundraiser-page property.

Mixpanel is useful here when your organization runs its own site or app with logged-in supporters and you want funnels that end in a gift: read an impact story, sign a petition, donate. The Classy form sits outside that experience, so the donation event has to be sent from your server after Classy reports the transaction, never inferred from a thank-you redirect.

The failure specific to this pair is the distinct_id. Your Mixpanel SDK identifies the visitor on your domain, then hands them to a Classy-hosted page where it cannot follow. If the server event uses the donor's email as distinct_id while the browser used your member ID, Mixpanel shows two people and every donate funnel ends at a cliff. Pass your user or member ID into the donation link, read it back from the transaction, and use exactly that value.

Name the event once, for example donation_completed, with amount, currency, Classy campaign, recurring flag and a property saying whether a fundraiser page produced it. Use the Classy transaction ID as $insert_id so retried webhooks do not double the count. Peer-to-peer donors who never visited your site will appear as new profiles; that is correct, not a bug, and they should be filtered out of acquisition funnels.

Classy → Mixpanel · what breaks

Why this join usually fails — Classy → Mixpanel

  1. 01

    The distinct_id never reaches Classy

    Donation pages are Classy-hosted, and peer-to-peer pages are shared person to person with no identifier anywhere in the chain.

  2. 02

    Peer-to-peer fundraising credited to media

    A successful peer-to-peer campaign can multiply donation volume in a fortnight. If it is pooled with direct giving, the ad account takes credit for a community's generosity and the following quarter looks like a collapse.

  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.

Classy → Mixpanel · the fix

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

Classy → Mixpanel · architecture

How Classy and Mixpanel actually connect

  1. 1

    Classy holds the truth

    Peer-to-peer money is raised by your supporters, not bought by your media. It belongs to the fundraiser who raised it and crediting it to an acquisition campaign is simply false.

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

  4. 4

    The event source decides reliability

    Send direct donations at their amount, with the campaign attached so appeals can be compared.

  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.

Classy → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the donation

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

    Donation pages are Classy-hosted, and peer-to-peer pages are shared person to person with no identifier anywhere in the chain.

  • Sent from the browser

    A successful peer-to-peer campaign can multiply donation volume in a fortnight. If it is pooled with direct giving, the ad account takes credit for a community's generosity and the following quarter looks like a collapse.

  • 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

Classy → Mixpanel · diagnose

Diagnostic order — Classy → Mixpanel

  1. 01

    Count donations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split donations by whether a fundraiser page produced them

    One field, and it decides whether any paid figure is interpretable.

  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.

Classy → Mixpanel · prove

How it gets proven — Classy → Mixpanel

Source of truth

Classy donations by campaign, split into direct gifts and peer-to-peer donations raised through supporters.

  • 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.
  • Direct donations reconciled per campaign against imported conversions, with peer-to-peer volume reported separately.

Classy → Mixpanel · free audit

What we check in the free audit

  • Count donations carrying the distinct_id
  • Follow one real conversion end to end
  • Split donations by whether a fundraiser page produced them
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

Classy donations by campaign, split into direct gifts and peer-to-peer donations raised through supporters.

Get my free conversion tracking audit

Free30 minutesNo obligation

Classy → Mixpanel · when not to buy

When you don't need this — Classy → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred donations and count how many carry the distinct_id.
  • If your fundraising is entirely peer-to-peer, the lever is supporter recruitment and enablement, not conversion tracking.
  • 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.

Classy → Mixpanel · what we deliver

What gets built — Classy → Mixpanel

  • Identifier capture into Classy

    Attribute direct donations from your own traffic; report peer-to-peer volume as a separate, unattributable channel.

  • Event source: the Classy donation record

    Send direct donations at their amount, with the campaign attached so appeals can be compared.

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

Written guarantee

95%+ tracking accuracy

Measured against Classy donations by campaign, split into direct gifts and peer-to-peer donations raised through supporters.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Classy → Mixpanel questions, answered

The server event is using a different distinct_id than your site's SDK, usually email versus a member ID. Pass your ID into the donation link and send the gift on that same value.

Free · 30 min

Get Classy and Mixpanel joined properly

Free30 minutesNo obligation