Connecting MyCase to Matomo
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. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the MyCase matter before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
MyCase and Matomo: practice-area reporting on your own server
Self-hosted Matomo keeps practice-area demand in-house. Read the Matomo visitor ID when the intake form is submitted, store it on the MyCase lead, and when staff open the matter, post a goal conversion through the HTTP Tracking API with that visitor ID, the matter ID and one average value or none. Restrict visitor-log access, set retention and monitor the server.
Self-hosted Matomo is the one destination in this list where a law firm can analyze practice-area demand without handing it to a third party. Visits to the divorce, DUI or bankruptcy pages stay in a database the firm controls, and the analytics request goes to the firm's own domain, so tracking prevention blocks less of it than a hosted tag.
The join is the Matomo visitor ID. Read it from the first-party cookie when the intake form is submitted, or from a call-tracking session, and store it on the MyCase lead. When staff open the matter days later, post a goal conversion through the HTTP Tracking API with that visitor ID and the matter ID, using a single average value or none. Firm-wide figures from MyCase billing are a better measure of fee income than anything sent per visit.
Self-hosting still needs discipline. Restrict who can see visitor logs, because a visit log tied to a matter is client-identifying, set a retention period for raw logs, and make sure the server is monitored: if the tracking database falls behind on a weekend, intake that came in then will never join to its source. Matters closed without fees can be handled by excluding those matter IDs from your reports rather than deleting hits.
MyCase → Matomo · what breaks
Why this join usually fails — MyCase → Matomo
- 01
The first-party visitor 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.
- 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.
- 03
Owning the pipeline means owning the outage
The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.
- 04
Nothing reconciles afterwards
Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.
MyCase → Matomo · the fix
What working looks like — MyCase → Matomo
The first-party visitor ID on every matter
Conversions arriving in Matomo
The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.
Reconciled against the source
MyCase → Matomo · architecture
How MyCase and Matomo actually connect
- 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
Matomo needs a click to match
The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.
- 3
The identifier is the bridge
The first-party visitor ID, captured at the visit and carried into the MyCase matter.
- 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
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
MyCase → Matomo · normal or broken
Working vs. broken, side by side — MyCase → Matomo
Normal, not a fault
The first-party visitor ID present on the matter
Sent from the MyCase matter record
Deduplicated correctly
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Reconciles with the source
Actually broken
The first-party visitor 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 advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.
Nobody has reconciled it
MyCase → Matomo · diagnose
Diagnostic order — MyCase → Matomo
- 01
Count matters carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Read the actual conversion payload field by field
Not the documentation — the payload. Do this before anything else.
- 04
Check tracker reachability and database lag before debugging any tag
On self-hosted analytics the answer is infrastructure more often than instrumentation.
- 05
Read the match rate, not the success message
Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.
MyCase → Matomo · prove
How it gets proven — MyCase → Matomo
Source of truth
MyCase matters opened, with fee income tracked separately as it is billed.
- The first-party visitor ID confirmed present on a live matter.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Matters opened reconciled against imported conversions, with the payload shown to carry no case detail.
MyCase → Matomo · free audit
What we check in the free audit
- Count matters carrying the first-party visitor ID
- Follow one real conversion end to end
- Read the actual conversion payload field by field
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
MyCase matters opened, with fee income tracked separately as it is billed.
Free30 minutesNo obligation
MyCase → Matomo · when not to buy
When you don't need this — MyCase → Matomo
- Measure identifier coverage yourself first — pull your last hundred matters and count how many carry the first-party visitor 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.
- If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.
MyCase → Matomo · what we deliver
What gets built — MyCase → Matomo
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 Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
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.
From $400 · See packages
FAQ
MyCase → Matomo questions, answered
Yes, with self-hosted Matomo the practice-area data stays on your server. Store the visitor ID on the MyCase lead and post a goal conversion when the matter opens.
For confidentiality, yes, because no third party receives the data. The trade-off is that you run and monitor the server yourself.
Almost always because the first-party visitor ID never reached the MyCase matter. The consultation is booked by phone or form and the matter is opened by staff days later, with no session in the chain. Measure coverage before debugging the dispatch.
Matomo sets its own first-party cookie and, when self-hosted on your domain, is not a third-party request at all. That means ad blockers and browser tracking-prevention affect it far less than a hosted analytics tag — one of the few genuine measurement advantages available under current privacy conditions.
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.
Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.
More on MyCase → Matomo
- MyCase → Google AdsConnecting MyCase to Google Ads
- MyCase → MetaConnecting MyCase to Meta Conversions API
- MyCase → GA4Connecting MyCase to GA4
Using MyCase for bookings? How MyCase bookings get tracked end to end
RELATED GUIDES
Where MyCase → Matomo fits in the rest of your tracking
- Filevine → MatomoConnecting Filevine to Matomo
- Karbon → MatomoConnecting Karbon to Matomo
- PracticePanther → MatomoConnecting PracticePanther to Matomo
- MyCase → AmplitudeConnecting MyCase to Amplitude
- MyCase → Adobe AnalyticsConnecting MyCase to Adobe Analytics
- Family lawConversion tracking for family law, measured in signed retainers
Free · 30 min
Get MyCase and Matomo joined properly
Free30 minutesNo obligation
