Connecting Classy to PostHog
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. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Classy donation before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Classy gifts in PostHog: one distinct_id from portal to donation
Pass the PostHog distinct_id on the donate link and store it on the Classy transaction, or join on the Classy email for logged-in supporters. Send a donation event to the capture API from a webhook or scheduled pull, with amount, campaign, the transaction ID as event UUID, and properties for fundraiser-page and recurring-installment gifts.
PostHog makes sense for a nonprofit with its own product surface, such as a volunteer portal, a learning hub or an app supporters log into, where you want to know whether engaged users go on to give. The donation, though, happens on a Classy-hosted page your PostHog snippet does not run on, so the funnel stops at the donate click unless you send the gift back yourself.
Pass the distinct_id on the donate link and store it on the Classy transaction, then send a donation event to the capture API from a Classy webhook or a scheduled API pull, with amount, campaign and the transaction ID as the event UUID. Where a supporter is logged into your portal, your own user ID is the distinct_id, and you can join on the email from the Classy record instead, which survives the domain hop without any URL work.
Add one property for whether a fundraiser page produced the gift and another for whether it was a recurring installment. If you attach gifts made through a supporter's fundraiser page to that supporter's profile, they will look like the most valuable user in the portal, which is the misread the fundraiser flag exists to prevent. Send recurring installments as a separate event, so cohort retention charts show donor retention, not card billing.
Classy → PostHog · what breaks
Why this join usually fails — Classy → PostHog
- 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.
- 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.
- 03
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Classy → PostHog · the fix
What working looks like — Classy → PostHog
The distinct_id on every donation
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
Classy → PostHog · architecture
How Classy and PostHog actually connect
- 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
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the Classy donation.
- 4
The event source decides reliability
Send direct donations at their amount, with the campaign attached so appeals can be compared.
- 5
Deduplication at the destination
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
Classy → PostHog · normal or broken
Working vs. broken, side by side — Classy → PostHog
Normal, not a fault
The distinct_id present on the donation
Sent from the Classy donation record
Deduplicated correctly
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
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
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
Classy → PostHog · diagnose
Diagnostic order — Classy → PostHog
- 01
Count donations carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
Split donations by whether a fundraiser page produced them
One field, and it decides whether any paid figure is interpretable.
- 04
Check ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
Classy → PostHog · prove
How it gets proven — Classy → PostHog
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 ingestion lag checked over the same window.
- Direct donations reconciled per campaign against imported conversions, with peer-to-peer volume reported separately.
Classy → PostHog · 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
- Check ingestion health and disk before debugging any missing event
- 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.
Free30 minutesNo obligation
Classy → PostHog · when not to buy
When you don't need this — Classy → PostHog
- 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 have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
Classy → PostHog · what we deliver
What gets built — Classy → PostHog
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 PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
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.
From $400 · See packages
FAQ
Classy → PostHog questions, answered
Not from the browser, because the form sits on a Classy-hosted page. Send the completed donation to PostHog server-side with the distinct_id you passed across or the donor's email.
Send them with a property marking the fundraiser page, so they can be filtered out of funnel analysis and kept for fundraiser reporting.
Almost always because the distinct_id never reached the Classy donation. Donation pages are Classy-hosted, and peer-to-peer pages are shared person to person with no identifier anywhere in the chain. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
The Classy donation record. Send direct donations at their amount, with the campaign attached so appeals can be compared.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on Classy → PostHog
- Stripe → PostHogConnecting Stripe to PostHog
- PayPal → PostHogConnecting PayPal to PostHog
- Shopify → PostHogConnecting Shopify to PostHog
RELATED GUIDES
Where Classy → PostHog fits in the rest of your tracking
- Blackbaud → PostHogConnecting Blackbaud to PostHog
- DonorPerfect → PostHogConnecting DonorPerfect to PostHog
- Donorbox → PostHogConnecting Donorbox to PostHog
- Classy → AmplitudeConnecting Classy to Amplitude
- Classy → Adobe AnalyticsConnecting Classy to Adobe Analytics
- Food banksConversion tracking for food banks, measured in what actually arrives
- Fundraise Up → PostHogConnecting Fundraise Up to PostHog
- Neon CRM → PostHogConnecting Neon CRM to PostHog
Free · 30 min
Get Classy and PostHog joined properly
Free30 minutesNo obligation
