Skip to main content
MyCase → GA4Integration guide

Connecting MyCase to GA4

MyCase runs small law firms, where a signed matter can take months to produce fee income and the case type decides everything about its value. 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 MyCase matter 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

MyCase matters in GA4 without sending case details

Store the _ga client_id with the intake submission on the MyCase contact, then send a neutral matter_opened event through Measurement Protocol with that client_id and at most an average value. Weekly exports land on the send date, fine for monthly reporting. Keep practice area out of event names, custom dimensions and intake page paths, and send no personal data.

GA4 can tell a small firm which channels produce consultations that become matters, as long as nothing about the matter goes with it. Store the _ga client_id with the intake form submission, keep it on the MyCase contact, and when a matter opens, send a custom event such as matter_opened by Measurement Protocol with that client_id and, at most, an average value. Check whether your MyCase plan exposes what you need through an API; many small firms will run this from a regular export instead.

An export run weekly meets GA4's short backdating limit, so events land on the day you send them, not the day the matter opened. For monthly reporting that is acceptable, provided nobody compares channels week by week. The client_id still ties each matter to the session and source that produced the enquiry.

The rules here are stricter than for a store. Do not register the practice area as a custom dimension, do not put it in the event name ("dui_matter_opened" says it out loud), and do not send names, emails or phone numbers, which GA4 prohibits anyway. Page paths can carry the same information: if the intake form lives at /bankruptcy/consultation, the generate_lead event's page_location already records what the person came for. Consider a neutral path for intake forms and thank-you pages.

MyCase → GA4 · what breaks

Why this join usually fails — MyCase → GA4

  1. 01

    The GA4 client_id never reaches MyCase

    The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain.

  2. 02

    Case type sent as a conversion label

    Attaching a practice area to a conversion tells an ad platform that a specific person has a criminal, family or bankruptcy matter. That is a disclosure, and no optimisation benefit is worth it.

  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.

MyCase → GA4 · the fix

What working looks like — MyCase → GA4

  • The GA4 client_id on every matter

  • 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

MyCase → GA4 · architecture

How MyCase and GA4 actually connect

  1. 1

    MyCase holds the truth

    A signed retainer is a commitment; the fees arrive over the life of the matter. Which one you report changes the timing and the size of every figure.

  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 MyCase matter.

  4. 4

    The event source decides reliability

    Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area 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.

MyCase → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the matter

  • Sent from the MyCase matter 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

    The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain.

  • Sent from the browser

    Attaching a practice area to a conversion tells an ad platform that a specific person has a criminal, family or bankruptcy matter. That is a disclosure, and no optimisation benefit is worth it.

  • 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

MyCase → GA4 · diagnose

Diagnostic order — MyCase → GA4

  1. 01

    Count matters carrying the GA4 client_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Read the actual conversion payload field by field

    Not the documentation — the payload. Do this before anything else.

  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.

MyCase → GA4 · prove

How it gets proven — MyCase → GA4

Source of truth

MyCase matters opened, with fee income tracked separately as it is billed.

  • The GA4 client_id confirmed present on a live matter.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Matters opened reconciled against imported conversions, with the payload shown to carry no case detail.

MyCase → GA4 · free audit

What we check in the free audit

  • Count matters carrying the GA4 client_id
  • Follow one real conversion end to end
  • Read the actual conversion payload field by field
  • Check whether server events carry a session and a source
  • Read the match rate, not the success message

Checked against

MyCase matters opened, with fee income tracked separately as it is billed.

Get my free conversion tracking audit

Free30 minutesNo obligation

MyCase → GA4 · when not to buy

When you don't need this — MyCase → GA4

  • Measure identifier coverage yourself first — pull your last hundred matters and count how many carry the GA4 client_id.
  • If you cannot guarantee a clean payload, send a bare count or nothing at all. That is a worse campaign and the correct decision.
  • 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.

MyCase → GA4 · what we deliver

What gets built — MyCase → GA4

  • Identifier capture into MyCase

    Capture at the enquiry and store on the contact so the matter opened later resolves to the original source. Send no case detail — the practice area is sensitive information about a person.

  • Event source: the MyCase matter record

    Send matters opened as a count, with a value if you use an average by practice area. Never send the practice area 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

    Matters closed without fees reverse.

Written guarantee

95%+ tracking accuracy

Measured against MyCase matters opened, with fee income tracked separately as it is billed.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

MyCase → GA4 questions, answered

Yes, if events carry no practice area, case detail or contact information. Send a neutral matter_opened event with the client_id and keep case type inside MyCase.

Free · 30 min

Get MyCase and GA4 joined properly

Free30 minutesNo obligation