Connecting iubenda to GA4
iubenda bundles consent management with generated privacy policies and cookie declarations, which means the published document and the actual behaviour can drift apart silently. 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 iubenda consent record 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
iubenda and GA4: consent state carried into Measurement Protocol
Store iubenda's per-purpose answers with each order. Send GA4 Measurement Protocol purchases only for orders with a stored client_id and granted measurement consent, never with a made-up ID when advanced Consent Mode wrote no _ga cookie. Fill the consent object's ad_user_data and ad_personalization from the iubenda record, and re-run iubenda's scan.
iubenda's Cookie Solution groups trackers by purpose, and GA4 normally sits under measurement while ad platforms sit under marketing. That split matters for server events: a visitor can accept measurement and reject marketing, so your order system needs to store the per-purpose answer with the order, not a single yes or no.
If iubenda runs Google Consent Mode in advanced mode, GA4 sends cookieless pings when analytics_storage is denied and no _ga cookie is written. There is then no client_id for a Measurement Protocol purchase to join, and sending one with a made-up ID creates an orphan user. Only send server purchases for orders that carry a stored client_id and a measurement consent of granted.
The Measurement Protocol accepts a consent object with ad_user_data and ad_personalization. Fill it from the iubenda record at order time, so a purchase from a shopper who declined marketing does not feed Google Ads audiences through a linked GA4 property. Then do the step that usually gets skipped: re-run iubenda's site scan and confirm the cookie declaration names GA4 and describes the server-side collection.
iubenda → GA4 · what breaks
Why this join usually fails — iubenda → GA4
- 01
The GA4 client_id never reaches iubenda
Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.
- 02
A cookie declaration that no longer matches the site
Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.
- 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.
iubenda → GA4 · the fix
What working looks like — iubenda → GA4
The GA4 client_id on every consent record
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
iubenda → GA4 · architecture
How iubenda and GA4 actually connect
- 1
iubenda holds the truth
The cookie declaration lists what the site sets. Adding a new conversion destination adds cookies and data sharing the declaration does not mention until somebody updates it.
- 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 iubenda consent record.
- 4
The event source decides reliability
Send consented conversions, with the destination list matching the published declaration.
- 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.
iubenda → GA4 · normal or broken
Working vs. broken, side by side — iubenda → GA4
Normal, not a fault
The GA4 client_id present on the consent record
Sent from your order system, gated on consent
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
Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.
Sent from the browser
Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.
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
iubenda → GA4 · diagnose
Diagnostic order — iubenda → GA4
- 01
Count consent records carrying the GA4 client_id
- 02
Follow one real conversion end to end
- 03
Compare your destination list against the published declaration
Five minutes, and it is almost never done after a new integration goes live.
- 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.
iubenda → GA4 · prove
How it gets proven — iubenda → GA4
Source of truth
Your order system, with consent state attached to the event.
- The GA4 client_id confirmed present on a live consent record.
- Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
- Consented conversions reconciled, with the declaration verified against the live destination list.
iubenda → GA4 · free audit
What we check in the free audit
- Count consent records carrying the GA4 client_id
- Follow one real conversion end to end
- Compare your destination list against the published declaration
- Check whether server events carry a session and a source
- Read the match rate, not the success message
Checked against
Your order system, with consent state attached to the event.
Free30 minutesNo obligation
iubenda → GA4 · when not to buy
When you don't need this — iubenda → GA4
- Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the GA4 client_id.
- Update the declaration before adding a destination, not after. That order is cheaper than the alternative.
- 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.
iubenda → GA4 · what we deliver
What gets built — iubenda → GA4
Identifier capture into iubenda
Capture after consent, and re-run the scan whenever a destination is added.
Event source: your order system, gated on consent
Send consented conversions, with the destination list matching the published declaration.
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
Withdrawal stops future sends.
Written guarantee
95%+ tracking accuracy
Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
iubenda → GA4 questions, answered
iubenda states support for it; check that your configuration maps its purposes to the right consent types. Wrong mapping is more common than missing support.
Not with their client_id, and not without a lawful basis. Treat them as out of scope for the Measurement Protocol rather than sending anonymous events that distort reports.
Almost always because the GA4 client_id never reached the iubenda consent record. Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old. 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.
Your order system, gated on consent. Send consented conversions, with the destination list matching the published declaration.
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 iubenda → GA4
- Stripe → GA4Connecting Stripe to GA4
- PayPal → GA4Connecting PayPal to GA4
- HubSpot → GA4Connecting HubSpot to GA4
RELATED GUIDES
Where iubenda → GA4 fits in the rest of your tracking
- Osano → GA4Connecting Osano to GA4
- Usercentrics → GA4Connecting Usercentrics to GA4
- CookieYes → GA4Connecting CookieYes to GA4
- iubenda → PostHogConnecting iubenda to PostHog
- iubenda → MixpanelConnecting iubenda to Mixpanel
- Financial servicesConversion tracking for financial services, built for the compliance review
- Termly → GA4Connecting Termly to GA4
- Cookiebot → GA4Connecting Cookiebot to GA4
Free · 30 min
Get iubenda and GA4 joined properly
Free30 minutesNo obligation
