Skip to main content
Marchex → GA4Integration guide

Connecting Marchex to GA4

Marchex sits with enterprises running calls across many locations, where the useful question is not whether the phone rang but which branch handled it and how. 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 Marchex call 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

Marchex calls in GA4: per-location leads on the right session

Only website callers can join GA4: number insertion must tie the displayed number to the session's client_id. After Marchex classifies a call as answered and qualifying and the classification is final, send generate_lead or call_qualified through Measurement Protocol with location_id and outcome as custom dimensions, timestamped within 72 hours. Don't also count click-to-call taps.

For Marchex, GA4 is where calls sit next to the web sessions that produced them, by location. The join only works for website callers: number insertion has to tie the displayed number to the visitor's session so the call record can be matched back to that session's client_id. Calls from Google Business Profile listings, ad call assets or printed numbers have no web session, and sending them to GA4 without a client_id creates users with no source.

Check whether your Marchex account's analytics integration can pass the client_id, or whether you need to read the _ga cookie at number-assignment time and store it against the call. Send generate_lead, or a custom call_qualified event, only after Marchex classifies the call as answered and qualifying, with location_id and the outcome as event parameters registered as custom dimensions, so GA4 reports calls by branch rather than as one national count.

Calls are classified after they end, sometimes hours later. Measurement Protocol accepts timestamps up to 72 hours back, so send with the call's start time when classification lands inside that window. GA4 has no way to undo a reclassified call, so wait until classification is final before sending. And do not mark a browser click-to-call tap as a key event as well; it counts taps, including the calls that rang out.

Marchex → GA4 · what breaks

Why this join usually fails — Marchex → GA4

  1. 01

    The GA4 client_id never reaches Marchex

    Number insertion has to be maintained across many location pages, and a single stale cached number sends a whole branch's calls to the wrong pool.

  2. 02

    Unanswered calls counted as leads

    At multi-location scale, a share of calls ring out or hit hold and abandon. Those are campaign spend converted into a bad customer experience, and they sit in the conversion count looking like success.

  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.

Marchex → GA4 · the fix

What working looks like — Marchex → GA4

  • The GA4 client_id on every call

  • 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

Marchex → GA4 · architecture

How Marchex and GA4 actually connect

  1. 1

    Marchex holds the truth

    In multi-location businesses a national campaign performs very differently by branch, and a pooled call count hides that entirely — including the branches that are not answering.

  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 Marchex call.

  4. 4

    The event source decides reliability

    Send qualifying calls per location with the outcome, not a national total.

  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.

Marchex → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the call

  • Sent from the Marchex call record

  • 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

    Number insertion has to be maintained across many location pages, and a single stale cached number sends a whole branch's calls to the wrong pool.

  • Sent from the browser

    At multi-location scale, a share of calls ring out or hit hold and abandon. Those are campaign spend converted into a bad customer experience, and they sit in the conversion count looking like success.

  • 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

Marchex → GA4 · diagnose

Diagnostic order — Marchex → GA4

  1. 01

    Count calls carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Measure answer rate and abandonment by location

    Frequently the largest available improvement, and it is an operations fix rather than a media one.

  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.

Marchex → GA4 · prove

How it gets proven — Marchex → GA4

Source of truth

Marchex calls by location, classified by outcome and joined to the local transaction.

  • The GA4 client_id confirmed present on a live call.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Answered qualifying calls reconciled per location against imported conversions.

Marchex → GA4 · free audit

What we check in the free audit

  • Count calls carrying the GA4 client_id
  • Follow one real conversion end to end
  • Measure answer rate and abandonment by location
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Marchex calls by location, classified by outcome and joined to the local transaction.

Get my free conversion tracking audit

Free30 minutesNo obligation

Marchex → GA4 · when not to buy

When you don't need this — Marchex → GA4

  • Measure identifier coverage yourself first — pull your last hundred calls and count how many carry the GA4 client_id.
  • Single-location businesses do not need per-location provisioning and a simpler call-tracking product will do.
  • 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.

Marchex → GA4 · what we deliver

What gets built — Marchex → GA4

  • Identifier capture into Marchex

    Provision numbers per location, verify insertion on every location page, and join the call to the local system that records the outcome.

  • Event source: the Marchex call record

    Send qualifying calls per location with the outcome, not a national total.

  • 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

    Reclassified calls correct.

Written guarantee

95%+ tracking accuracy

Measured against Marchex calls by location, classified by outcome and joined to the local transaction.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Marchex → GA4 questions, answered

Yes, if each call event carries a location parameter registered as a custom dimension. To be attributed to a source, the call also needs the client_id from the website session that showed the number.

Free · 30 min

Get Marchex and GA4 joined properly

Free30 minutesNo obligation