Connecting Tapfiliate to GA4
Tapfiliate handles affiliate programmes for SaaS and subscription businesses, where the commission recurs and therefore so does the cost of getting the attribution wrong. 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 Tapfiliate conversion 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
Tapfiliate to GA4: affiliate signups and the referral row
Capture the GA4 client_id at signup and store it with the Tapfiliate referral and click IDs. When the trial converts, send purchase through Measurement Protocol with that client_id, plan value, an affiliate_id custom dimension and a credited_channel parameter from your precedence rule. Read it with user-scoped dimensions, and send cancellations as their own event.
GA4 and Tapfiliate will disagree about the same SaaS signup, and both are behaving as designed. An affiliate's link arrives as a referral or with the affiliate's UTM tags; if the same person clicks a paid ad during their trial, GA4 credits the paid session under its model while Tapfiliate credits the affiliate under its cookie rules. Write one precedence rule and record its result as a parameter, such as `credited_channel`, on the GA4 conversion event, so reports show your decision instead of either tool's.
Capture the GA4 `client_id` at signup and store it on the account with the Tapfiliate referral and any click IDs. When the trial converts to paid weeks later, send `purchase` through the Measurement Protocol with that `client_id`, the plan value and an `affiliate_id` parameter registered as a custom dimension. The event has no session of its own, so read it with user-scoped dimensions such as first user source rather than session channel, which will show unassigned.
Send cancellations as their own event with the same `client_id`. In the BigQuery export, that gives retention by affiliate next to retention by paid channel, which is the comparison commission rates should be based on.
Tapfiliate → GA4 · what breaks
Why this join usually fails — Tapfiliate → GA4
- 01
The GA4 client_id never reaches Tapfiliate
Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.
- 02
Commission continuing on cancelled subscriptions
Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.
- 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.
Tapfiliate → GA4 · the fix
What working looks like — Tapfiliate → GA4
The GA4 client_id on every conversion
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
Tapfiliate → GA4 · architecture
How Tapfiliate and GA4 actually connect
- 1
Tapfiliate holds the truth
Recurring commission means an attribution error does not cost you once. It costs you every month until somebody notices, and nobody notices because the amounts are individually small.
- 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 Tapfiliate conversion.
- 4
The event source decides reliability
Send new subscriptions net of commission, with affiliate-sourced ones marked.
- 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.
Tapfiliate → GA4 · normal or broken
Working vs. broken, side by side — Tapfiliate → GA4
Normal, not a fault
The GA4 client_id present on the conversion
Sent from the subscription record with affiliate attribution
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
Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks.
Sent from the browser
Most implementations wire the signup and forget the cancellation, so affiliates keep earning on customers who left months ago. This is money leaving the business quietly and indefinitely.
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
Tapfiliate → GA4 · diagnose
Diagnostic order — Tapfiliate → GA4
- 01
Count conversions carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Check whether cancellations reach the affiliate platform
Usually they do not, because only the signup path was interesting to build.
- 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.
Tapfiliate → GA4 · prove
How it gets proven — Tapfiliate → GA4
Source of truth
Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.
- The GA4 client_id confirmed present on a live conversion.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- Commissionable recurring revenue reconciled against active subscriptions, with cancellations proven to reverse.
Tapfiliate → GA4 · free audit
What we check in the free audit
- Count conversions carrying the GA4 client_id
- Follow one real conversion end to end
- Check whether cancellations reach the affiliate platform
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.
Free30 minutesNo obligation
Tapfiliate → GA4 · when not to buy
When you don't need this — Tapfiliate → GA4
- Measure identifier coverage yourself first — pull your last hundred conversions and count how many carry the GA4 client_id.
- One-off sales programmes do not have the recurring exposure and need only the signup path.
- 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.
Tapfiliate → GA4 · what we deliver
What gets built — Tapfiliate → GA4
Identifier capture into Tapfiliate
Record both identifiers with timestamps on the account and apply a written precedence rule at conversion rather than at click.
Event source: the subscription record with affiliate attribution
Send new subscriptions net of commission, with affiliate-sourced ones marked.
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
Cancellations must reverse and stop the recurring commission.
Written guarantee
95%+ tracking accuracy
Measured against Subscriptions flagged by affiliate, with recurring commission recorded against recognized revenue.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Tapfiliate → GA4 questions, answered
Tapfiliate credits whoever's referral applies under its rules; GA4 credits sessions by its own model. Write one precedence rule and record the result as a parameter on the GA4 event.
Send the paid conversion via the Measurement Protocol with the client_id stored at signup, and read it with user-scoped first-touch dimensions, since it has no session of its own.
Almost always because the GA4 client_id never reached the Tapfiliate conversion. Affiliate cookies and paid identifiers coexist in the same browser through a trial period that can run weeks. 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 subscription record with affiliate attribution. Send new subscriptions net of commission, with affiliate-sourced ones marked.
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 Tapfiliate → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
RELATED GUIDES
Where Tapfiliate → GA4 fits in the rest of your tracking
- ShareASale → GA4Connecting ShareASale to GA4
- Refersion → GA4Connecting Refersion to GA4
- FirstPromoter → GA4Connecting FirstPromoter to GA4
- Tapfiliate → MatomoConnecting Tapfiliate to Matomo
- Tapfiliate → PostHogConnecting Tapfiliate to PostHog
- SubscriptionsConversion tracking for subscription businesses, across the whole lifecycle
- Post Affiliate Pro → GA4Connecting Post Affiliate Pro to GA4
- Rakuten Advertising → GA4Connecting Rakuten Advertising to GA4
Free · 30 min
Get Tapfiliate and GA4 joined properly
Free30 minutesNo obligation
