Skip to main content
Applied Epic → GA4Integration guide

Connecting Applied Epic to GA4

Applied Epic runs insurance agencies, where the agency earns a commission on premium and the policy renews annually — so a new client is worth a stream, not a sale. 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 Applied Epic policy 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

Applied Epic in GA4: quote in session, bind via Measurement Protocol

Capture the _ga client_id on the quote form, store it on the Applied Epic client record, and send generate_lead in the browser. Send the bind via Measurement Protocol as purchase, with the policy number as transaction_id and first-year commission in USD. Read it through user-scoped dimensions. Send renewals as their own event and first-term cancellations as refund.

GA4 is where an Applied Epic agency can see ad, quote and bind on one user, but only if the client_id from the _ga cookie is captured on the quote form and stored on the Epic client record. Send generate_lead in the browser when the form submits. Send the bind later via Measurement Protocol as purchase with that stored client_id, transaction_id set to the Epic policy number, value at first-year commission and currency USD.

Measurement Protocol backdates events no more than 72 hours and never creates a session, so a policy bound two weeks after the enquiry lands on its bind date with no session source. Read it through user-scoped dimensions such as first user source/medium. Quotes that came in by phone never had a client_id. Flag them as phone-originated in Epic and report them separately rather than inventing an ID, which GA4 would file under (direct)/(none).

Send renewals as their own event (policy_renewed, for example), so retention is visible without inflating purchase counts. Send first-term cancellations as refund with the same transaction_id. Be strict about parameters: a coarse line-of-business category is fine for analysis, but driver, property or claims detail is nonpublic personal information and has no place in Google Analytics.

Applied Epic → GA4 · what breaks

Why this join usually fails — Applied Epic → GA4

  1. 01

    The GA4 client_id never reaches Applied Epic

    Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.

  2. 02

    Premium reported instead of commission

    A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.

  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.

Applied Epic → GA4 · the fix

What working looks like — Applied Epic → GA4

  • The GA4 client_id on every policy

  • 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

Applied Epic → GA4 · architecture

How Applied Epic and GA4 actually connect

  1. 1

    Applied Epic holds the truth

    The agency does not earn the premium. It earns a percentage of it, annually, for as long as the policy renews — which makes both the value and its timing quite unlike a one-off sale.

  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 Applied Epic policy.

  4. 4

    The event source decides reliability

    Send bound policies at first-year agency commission, with renewals reported as retention.

  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.

Applied Epic → GA4 · normal or broken

Working vs. broken, side by side — Applied Epic → GA4

Normal, not a fault

  • The GA4 client_id present on the policy

  • Sent from the Applied Epic policy 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

    Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.

  • Sent from the browser

    A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.

  • 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

Applied Epic → GA4 · diagnose

Diagnostic order — Applied Epic → GA4

  1. 01

    Count policys carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm the imported value is agency commission

    The distinction is well understood inside the agency and routinely lost in the pipeline to the ad platform.

  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.

Applied Epic → GA4 · prove

How it gets proven — Applied Epic → GA4

Source of truth

Policies bound, valued at agency commission on premium rather than at the premium itself.

  • The GA4 client_id confirmed present on a live policy.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Bound policies reconciled at agency commission against imported conversions.

Applied Epic → GA4 · free audit

What we check in the free audit

  • Count policys carrying the GA4 client_id
  • Follow one real conversion end to end
  • Confirm the imported value is agency commission
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

Policies bound, valued at agency commission on premium rather than at the premium itself.

Get my free conversion tracking audit

Free30 minutesNo obligation

Applied Epic → GA4 · when not to buy

When you don't need this — Applied Epic → GA4

  • Measure identifier coverage yourself first — pull your last hundred policys and count how many carry the GA4 client_id.
  • If you cannot get commission into the pipeline, send a bound-policy count. A count is honest; premium is not.
  • 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.

Applied Epic → GA4 · what we deliver

What gets built — Applied Epic → GA4

  • Identifier capture into Applied Epic

    Store the identifier on the client record at enquiry so a policy bound later resolves to it.

  • Event source: the Applied Epic policy record

    Send bound policies at first-year agency commission, with renewals reported as retention.

  • 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

    Cancelled policies reverse pro rata.

Written guarantee

95%+ tracking accuracy

Measured against Policies bound, valued at agency commission on premium rather than at the premium itself.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Applied Epic → GA4 questions, answered

The Measurement Protocol event went out without the client_id from the original quote visit, so GA4 created a new user with no source. Store the client_id on the Epic record at enquiry and send it with the bind.

Free · 30 min

Get Applied Epic and GA4 joined properly

Free30 minutesNo obligation