Skip to main content
Tapfiliate → GA4Integration guide

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

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

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

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

  4. 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. 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. 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. 3

    The identifier is the bridge

    The GA4 client_id, captured at the visit and carried into the Tapfiliate conversion.

  4. 4

    The event source decides reliability

    Send new subscriptions net of commission, with affiliate-sourced ones marked.

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

  1. 01

    Count conversions carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether cancellations reach the affiliate platform

    Usually they do not, because only the signup path was interesting to build.

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

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

Get my free conversion tracking audit

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.

Get my free conversion tracking audit

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.

Free · 30 min

Get Tapfiliate and GA4 joined properly

Free30 minutesNo obligation