Skip to main content
Gorgias → GA4Integration guide

Connecting Gorgias to GA4

Gorgias is ecommerce customer support, and the commercially interesting thing it holds is the conversation that led to a sale rather than the sale itself. 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 Gorgias ticket 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

Gorgias and GA4: tag pre-sales chats, keep support out of key events

Never mark Gorgias chat events as GA4 key events or send tickets as generate_lead. Instead, add a chat_assisted parameter to the purchase event when the store order matches a Gorgias ticket by email in preceding days, so GA4 shows chat-assisted revenue by source. Server-sent purchases need the client_id and session_id stored at checkout.

In GA4 the risk is quieter than in an ad platform: someone marks the chat widget's open or message event as a key event, and conversion-rate charts start rising with support volume. Keep chat events, if you send them at all, as ordinary events, and name pre-sales and support differently. Check whether your Gorgias chat setup exposes events you can read in GTM; if it does, separate a conversation started on a product or cart page from one started on an order-tracking or returns page.

The useful join is on the purchase. When a shopper chats before buying, add a parameter such as chat_assisted to the purchase event, set from your store order where it matches a Gorgias ticket by customer email in the days before the order. GA4 then shows chat-assisted revenue by source and medium, which Gorgias's own revenue statistics cannot, because Gorgias attributes revenue to conversations on its own rules and knows nothing about the ad click.

If that purchase is sent through Measurement Protocol so the ticket join can happen server-side, it needs the client_id and session_id stored with the order at checkout, or chat-assisted orders arrive as new users under (direct)/(none). And a ticket-closed or satisfaction-survey event should never be sent to GA4 as generate_lead; it is service data and belongs in Gorgias.

Gorgias → GA4 · what breaks

Why this join usually fails — Gorgias → GA4

  1. 01

    The GA4 client_id never reaches Gorgias

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  2. 02

    Support volume mistaken for demand

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  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.

Gorgias → GA4 · the fix

What working looks like — Gorgias → GA4

  • The GA4 client_id on every ticket

  • 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

Gorgias → GA4 · architecture

How Gorgias and GA4 actually connect

  1. 1

    Gorgias holds the truth

    Gorgias can attribute revenue to support conversations, which is genuinely useful internally and is calculated on its own rules. It is not a substitute for the store's order record.

  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 Gorgias ticket.

  4. 4

    The event source decides reliability

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  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.

Gorgias → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the ticket

  • Sent from your store's order webhook, joined to the ticket where relevant

  • 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

    Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.

  • Sent from the browser

    The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.

  • 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

Gorgias → GA4 · diagnose

Diagnostic order — Gorgias → GA4

  1. 01

    Count tickets carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what proportion of tickets are pre-sales rather than support

    It is usually a small minority, and only that minority is relevant to acquisition.

  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.

Gorgias → GA4 · prove

How it gets proven — Gorgias → GA4

Source of truth

Your store's orders — Gorgias records the conversation and the store records the money.

  • The GA4 client_id confirmed present on a live ticket.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Pre-sales conversations separated from support volume before any conversion claim is made.

Gorgias → GA4 · free audit

What we check in the free audit

  • Count tickets carrying the GA4 client_id
  • Follow one real conversion end to end
  • Check what proportion of tickets are pre-sales rather than support
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Your store's orders — Gorgias records the conversation and the store records the money.

Get my free conversion tracking audit

Free30 minutesNo obligation

Gorgias → GA4 · when not to buy

When you don't need this — Gorgias → GA4

  • Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry the GA4 client_id.
  • If your Gorgias is purely post-purchase support, it is not a conversion source and should not be treated as one.
  • 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.

Gorgias → GA4 · what we deliver

What gets built — Gorgias → GA4

  • Identifier capture into Gorgias

    Where pre-sales chat matters, carry the identifier into the ticket's custom fields so a conversation that precedes a first order can be connected to the click that started it.

  • Event source: your store's order webhook, joined to the ticket where relevant

    Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.

  • 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

    Refunds come from the store.

Written guarantee

95%+ tracking accuracy

Measured against Your store's orders — Gorgias records the conversation and the store records the money.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Gorgias → GA4 questions, answered

Not as a single event. Only a pre-sales conversation is plausibly a lead, and even then the purchase it precedes is the outcome to count.

Free · 30 min

Get Gorgias and GA4 joined properly

Free30 minutesNo obligation