Skip to main content
Intercom → GA4Integration guide

Connecting Intercom to GA4

Intercom is mostly a support inbox with a sales product attached, and the difference between those two conversation types is the difference between a lead and a ticket. 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 Intercom conversation 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

Intercom in GA4: the Messenger frame never sees your _ga cookie

GA4 cannot see inside the Intercom Messenger frame, so pass the GA4 client_id and session_id into Intercom as custom attributes at boot. When Intercom marks a pre-sales lead qualified or a demo is booked, send generate_lead through Measurement Protocol with the stored client_id within 72 hours. Treat Messenger opens as engagement only, and exclude contacts already set as users.

The Intercom Messenger runs in its own frame, so a GA4 tag on your page does not record anything that happens inside it. Pass the GA4 client_id and session_id into the Messenger at boot as custom attributes, so they are written onto the Intercom contact when the visitor becomes a lead. A server event sent later from the contact can then attach to the browsing session that started the conversation.

Check whether your Intercom install exposes the JavaScript callbacks you need; Intercom's Messenger API has hooks for some actions, and a dataLayer push from one is fine for opening the Messenger as an engagement signal. It should not be a key event. Opening a chat is mostly existing customers with questions, and GA4 key events built on it make every support-heavy channel look like it drives demand.

The event that belongs in GA4 is generate_lead when Intercom marks a pre-sales contact as qualified, or when the demo is booked, sent through Measurement Protocol with the stored client_id within 72 hours of the action so it is not timestamped later. Filter on the contact's role: Intercom distinguishes leads from users, and anything from a contact already set as a user is support, not acquisition.

Intercom → GA4 · what breaks

Why this join usually fails — Intercom → GA4

  1. 01

    The GA4 client_id never reaches Intercom

    The Messenger runs in an Intercom-served frame with its own storage. It does not see your page's cookies unless you deliberately pass attributes into it.

  2. 02

    Support volume optimized as if it were demand

    This is the single most common failure on chat platforms. Chat-started fires on every customer with a billing question, the platform learns that people with problems are valuable, and spend flows toward exactly the wrong audience.

  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.

Intercom → GA4 · the fix

What working looks like — Intercom → GA4

  • The GA4 client_id on every conversation

  • 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

Intercom → GA4 · architecture

How Intercom and GA4 actually connect

  1. 1

    Intercom holds the truth

    The overwhelming majority of conversations in a mature Intercom workspace are existing customers asking for help. Importing conversation volume as a conversion signal tells your ad platforms to go find you more support tickets.

  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 Intercom conversation.

  4. 4

    The event source decides reliability

    Send the qualified outcome — a booked demo or a started trial — not the conversation opening. Opening a chat is not intent, it is curiosity or confusion.

  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.

Intercom → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the conversation

  • Sent from the Intercom contact and conversation API

  • 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 Messenger runs in an Intercom-served frame with its own storage. It does not see your page's cookies unless you deliberately pass attributes into it.

  • Sent from the browser

    This is the single most common failure on chat platforms. Chat-started fires on every customer with a billing question, the platform learns that people with problems are valuable, and spend flows toward exactly the wrong audience.

  • 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

Intercom → GA4 · diagnose

Diagnostic order — Intercom → GA4

  1. 01

    Count conversations carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Split conversations by whether the person is already a customer

    Run it once. On most SaaS workspaces the pre-sales share is under a fifth, which reframes the entire integration.

  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.

Intercom → GA4 · prove

How it gets proven — Intercom → GA4

Source of truth

Intercom conversations filtered to pre-sales intent, joined to whatever they became in your CRM.

  • The GA4 client_id confirmed present on a live conversation.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Qualified pre-sales outcomes reconciled against imported conversions, with support conversations demonstrably excluded.

Intercom → GA4 · free audit

What we check in the free audit

  • Count conversations carrying the GA4 client_id
  • Follow one real conversion end to end
  • Split conversations by whether the person is already a customer
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Intercom conversations filtered to pre-sales intent, joined to whatever they became in your CRM.

Get my free conversion tracking audit

Free30 minutesNo obligation

Intercom → GA4 · when not to buy

When you don't need this — Intercom → GA4

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry the GA4 client_id.
  • If you use Intercom purely for customer support, there is no acquisition event in it and the correct integration is none.
  • 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.

Intercom → GA4 · what we deliver

What gets built — Intercom → GA4

  • Identifier capture into Intercom

    Pass the identifier as a custom attribute at boot, so it is written onto the contact record and survives into the CRM when the conversation converts.

  • Event source: the Intercom contact and conversation API

    Send the qualified outcome — a booked demo or a started trial — not the conversation opening. Opening a chat is not intent, it is curiosity or confusion.

  • 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

    Disqualified conversations should be reversed if they were ever sent as conversions.

Written guarantee

95%+ tracking accuracy

Measured against Intercom conversations filtered to pre-sales intent, joined to whatever they became in your CRM.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Intercom → GA4 questions, answered

Not directly, because the Messenger is a separate frame. Pass the client_id in as a custom attribute and send qualified outcomes server-side with it.

Free · 30 min

Get Intercom and GA4 joined properly

Free30 minutesNo obligation