Skip to main content
Docebo → GA4Integration guide

Connecting Docebo to GA4

Docebo is enterprise learning, sold through a long procurement cycle to a buying committee, at contract values that dwarf any self-serve course platform. 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 Docebo contract 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

Docebo to GA4: keeping a months-long enterprise deal attributable

Capture the _ga client_id at the demo form, store it on the CRM lead with a user_id, and carry both to the opportunity. At close, send close_convert_lead or closed_won with contract value through Measurement Protocol when the stage changes, since old timestamps are rejected. Read results in user-scoped dimensions, keeping contract revenue in the CRM.

For an enterprise learning sale, GA4's job is not to watch the contract arrive but to tie the demo request or RFP download to the account that eventually signs. The session that produced the first form has long expired by signature, so a closed-won Measurement Protocol event cannot join that session; it can only join the user.

Capture the _ga client_id at the demo or contact form, store it on the CRM lead, and carry it through lead-to-opportunity conversion alongside a user_id you set at the same time. When the deal closes, send close_convert_lead (GA4's recommended lead-lifecycle event) or your own closed_won event with the contract value, using that client_id and user_id. Send it when the stage changes: Measurement Protocol only accepts timestamps a short way into the past, so backfilling quarter-old deals with their real dates will not work. Confirm the current limit in Google's documentation.

Expect attribution in GA4's user-scoped dimensions, such as first user source, rather than session-scoped ones, because there is no live session to inherit. Several people at the buying company will have their own client_ids and only the one who filled in the form is joined, so treat GA4 as directional here and keep contract revenue in the CRM as the reference.

Docebo → GA4 · what breaks

Why this join usually fails — Docebo → GA4

  1. 01

    The GA4 client_id never reaches Docebo

    The cycle involves L&D, IT, procurement and finance researching separately over months, and the eventual platform login has no connection to any of it. The identifier must survive in the CRM through lead conversion.

  2. 02

    A cycle longer than every import window

    Enterprise learning procurement routinely runs past 90 days, which means the closed-won deal cannot be uploaded against the original click at all.

  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.

Docebo → GA4 · the fix

What working looks like — Docebo → GA4

  • The GA4 client_id on every contract

  • 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

Docebo → GA4 · architecture

How Docebo and GA4 actually connect

  1. 1

    Docebo holds the truth

    Enterprise learning contracts run for years at values set by user count and modules. The LMS records usage; the CRM records the deal.

  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 Docebo contract.

  4. 4

    The event source decides reliability

    Send the contract at annual value times term, where the cycle fits inside an import window. Where it does not, optimize toward a qualified stage and report revenue separately.

  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.

Docebo → GA4 · normal or broken

Working vs. broken, side by side — Docebo → GA4

Normal, not a fault

  • The GA4 client_id present on the contract

  • Sent from your CRM on closed-won

  • 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 cycle involves L&D, IT, procurement and finance researching separately over months, and the eventual platform login has no connection to any of it. The identifier must survive in the CRM through lead conversion.

  • Sent from the browser

    Enterprise learning procurement routinely runs past 90 days, which means the closed-won deal cannot be uploaded against the original click at all.

  • 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

Docebo → GA4 · diagnose

Diagnostic order — Docebo → GA4

  1. 01

    Count contracts carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure median click-to-signature before designing anything

    It decides whether a closed-won upload is even possible, and in this category it usually is not.

  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.

Docebo → GA4 · prove

How it gets proven — Docebo → GA4

Source of truth

Your CRM's closed-won contracts, at annual contract value — Docebo itself holds delivery, not the sale.

  • The GA4 client_id confirmed present on a live contract.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • The click-to-signature distribution measured against every import window and stated in writing.

Docebo → GA4 · free audit

What we check in the free audit

  • Count contracts carrying the GA4 client_id
  • Follow one real conversion end to end
  • Measure median click-to-signature before designing anything
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Your CRM's closed-won contracts, at annual contract value — Docebo itself holds delivery, not the sale.

Get my free conversion tracking audit

Free30 minutesNo obligation

Docebo → GA4 · when not to buy

When you don't need this — Docebo → GA4

  • Measure identifier coverage yourself first — pull your last hundred contracts and count how many carry the GA4 client_id.
  • If your deals close in quarters, optimize toward qualified opportunities and stop trying to upload the contract.
  • 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.

Docebo → GA4 · what we deliver

What gets built — Docebo → GA4

  • Identifier capture into Docebo

    Capture and persist the identifier server-side, carry it into the CRM and map it through lead-to-opportunity conversion, which is where it usually dies.

  • Event source: your CRM on closed-won

    Send the contract at annual value times term, where the cycle fits inside an import window. Where it does not, optimize toward a qualified stage and report revenue separately.

  • 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

    Contracts that fail to onboard should not stand as conversions.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM's closed-won contracts, at annual contract value — Docebo itself holds delivery, not the sale.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Docebo → GA4 questions, answered

Only at the user level, and only if the original client_id was stored on the CRM record and sent with the closed-won event. The session is long gone, so session-scoped reports will not show it.

Free · 30 min

Get Docebo and GA4 joined properly

Free30 minutesNo obligation