Connecting Donorbox to GA4
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. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Donorbox donation before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Donorbox to GA4: gifts and recurring plans as separate events
Send Donorbox one-off gifts to GA4 as purchase and recurring plans as a separate custom event, with the donation ID as transaction_id. Pick one route: Donorbox's own GA setting or server-side Measurement Protocol carrying your page's client_id, sent within 72 hours. Never send later recurring charges as new conversions.
GA4 has no donation event, so most nonprofits send Donorbox gifts as purchase, which makes a first monthly gift of $25 look like a $25 sale. Use purchase for one-off gifts and a separate custom event, or purchase with an item named for the recurring plan, so GA4 reports can split the two. Use the Donorbox donation ID as transaction_id.
The Donorbox form typically renders in an embed or popup served by Donorbox, so the GA4 client_id on your page does not follow the donor into the form. Check whether Donorbox's own Google Analytics or Tag Manager setting is available on your plan and what it sends; if you use it and also send Measurement Protocol events, you will count gifts twice, because GA4 does not deduplicate. Pick one source.
If you send server-side, the donation record has to carry the client_id from your page, passed in through a supported form field, and you need to send within 72 hours of the gift because Measurement Protocol rejects older timestamps. Later recurring charges should not be sent as new conversions at all; they belong in your donor CRM, not in acquisition reports.
Donorbox → GA4 · what breaks
Why this join usually fails — Donorbox → GA4
- 01
The GA4 client_id never reaches Donorbox
The donation form frequently renders in a Donorbox-hosted embed or popup, which does not share your page's storage.
- 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.
- 03
Everything lands under (direct)/(none)
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
- 04
Nothing reconciles afterwards
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
Donorbox → GA4 · the fix
What working looks like — Donorbox → GA4
The GA4 client_id on every donation
Conversions arriving in GA4
Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.
Reconciled against the source
Donorbox → GA4 · architecture
How Donorbox and GA4 actually connect
- 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
GA4 needs a click to match
GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.
- 3
The identifier is the bridge
The GA4 client_id, captured at the visit and carried into the Donorbox donation.
- 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
Deduplication at the destination
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Donorbox → GA4 · normal or broken
Working vs. broken, side by side — Donorbox → GA4
Normal, not a fault
The GA4 client_id present on the donation
Sent from the Donorbox donation record
Deduplicated correctly
GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.
Reconciles with the source
Actually broken
The GA4 client_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
The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.
Nobody has reconciled it
Donorbox → GA4 · diagnose
Diagnostic order — Donorbox → GA4
- 01
Count donations carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 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.
- 04
Check whether server events carry a session and a source
In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.
- 05
Read the match rate, not the success message
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
Donorbox → GA4 · prove
How it gets proven — Donorbox → GA4
Source of truth
Donorbox donations by date, split into one-off gifts and recurring plans.
- The GA4 client_id confirmed present on a live donation.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- Donations reconciled by type against imported conversions, with recurring plans valued on stated retention.
Donorbox → GA4 · free audit
What we check in the free audit
- Count donations carrying the GA4 client_id
- Follow one real conversion end to end
- Compare the value of a recurring donor over a year against a single gift
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Donorbox donations by date, split into one-off gifts and recurring plans.
Free30 minutesNo obligation
Donorbox → GA4 · when not to buy
When you don't need this — Donorbox → GA4
- Measure identifier coverage yourself first — pull your last hundred donations and count how many carry the GA4 client_id.
- If you only take one-off gifts, this is a straightforward payment integration and the recurring complexity does not apply.
- GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.
Donorbox → GA4 · what we deliver
What gets built — Donorbox → GA4
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 GA4
Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.
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.
From $400 · See packages
FAQ
Donorbox → GA4 questions, answered
Either turn on Donorbox's own GA integration if your plan includes it, or send a Measurement Protocol event from the donation record with your page's client_id. Not both.
No. Send only the first gift of a recurring plan; renewals are retention, not acquisition.
Almost always because the GA4 client_id never reached the Donorbox donation. The donation form frequently renders in a Donorbox-hosted embed or popup, which does not share your page's storage. Measure coverage before debugging the dispatch.
The client_id, from the _ga cookie. Measurement Protocol events without it are rejected or create a brand-new user with no session and no source, which is how server events end up filed under (direct)/(none) and make paid channels look worse than they are. Send session_id alongside it so the event joins the existing session, and include engagement_time_msec or the event may not appear as expected in reports.
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.
GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.
More on Donorbox → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
RELATED GUIDES
Where Donorbox → GA4 fits in the rest of your tracking
- Blackbaud → GA4Connecting Blackbaud to GA4
- Classy → GA4Connecting Classy to GA4
- Givebutter → GA4Connecting Givebutter to GA4
- Donorbox → MatomoConnecting Donorbox to Matomo
- Donorbox → AmplitudeConnecting Donorbox to Amplitude
- HospicesConversion tracking for hospices, measured in gifts and referrals
- JustGiving → GA4Connecting JustGiving to GA4
- Neon CRM → GA4Connecting Neon CRM to GA4
Free · 30 min
Get Donorbox and GA4 joined properly
Free30 minutesNo obligation
