Connecting Clio to Matomo
Clio is legal practice management, so it holds the matter and the billing for law firms where a single signed case can justify an entire quarter of advertising. 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 Clio 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
Clio matters as Matomo goals, on analytics the firm controls
Store the Matomo visitor ID from the first-party cookie on the Clio contact, and when the matter opens post a goal conversion through the HTTP Tracking API with an expected value by matter type. Backdated hits need a tracking-only auth token, and raw-log deletion settings can remove the visit before late matters arrive. Send nothing about the matter.
Matomo suits law firms for a specific reason: self-hosted on the firm's domain, no third party learns that a visitor read the DUI defense or Chapter 7 page. The join is Matomo's visitor ID. Read it from the first-party cookie when the intake form submits, store it in a Clio contact custom field, and carry it onto the matter. When the matter opens, post a goal conversion through the Matomo HTTP Tracking API with that visitor ID and an expected value by matter type.
Timing is where this pair breaks. A matter can open weeks after the first visit, and Matomo only accepts hits backdated beyond a short window when they carry an auth token, so confirm the limit on your version and use a token scoped to tracking only. Also check your raw-data deletion setting: if the firm purges visit logs after thirty days for privacy, a matter opened on day forty-five has no visit left to attach to.
Send the goal value as expected case value, never billed-to-date, and send nothing about the matter itself. No practice area in the goal name, no client name in custom dimensions. Matters closed without billing can be handled by excluding them in reporting rather than trying to delete a historic Matomo goal, which the tracking API does not do cleanly.
Clio → Matomo · what breaks
Why this join usually fails — Clio → Matomo
- 01
The first-party visitor ID never reaches Clio
The identifier has to survive from the website through intake into the matter record, and in most firms intake is a separate system or a person with a notepad. That handoff is where legal attribution dies.
- 02
Intake as a black hole
The web form has the identifier and the matter record does not, because a human retyped the details into Clio. This single handoff explains most broken law firm attribution.
- 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.
Clio → Matomo · the fix
What working looks like — Clio → 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
Clio → Matomo · architecture
How Clio and Matomo actually connect
- 1
Clio holds the truth
A matter opened is the acquisition event; billed revenue accrues over months or years afterwards. Which one a report means has to be stated, because in legal the two are very far apart.
- 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 Clio matter.
- 4
The event source decides reliability
Fire when a matter is opened, valued at expected case value by practice area rather than at billed-to-date.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Clio → Matomo · normal or broken
Working vs. broken, side by side — Clio → Matomo
Normal, not a fault
The first-party visitor ID present on the matter
Sent from the Clio matter creation webhook
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 identifier has to survive from the website through intake into the matter record, and in most firms intake is a separate system or a person with a notepad. That handoff is where legal attribution dies.
Sent from the browser
The web form has the identifier and the matter record does not, because a human retyped the details into Clio. This single handoff explains most broken law firm attribution.
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
Clio → Matomo · diagnose
Diagnostic order — Clio → Matomo
- 01
Count matters carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Open a recent matter and look for the identifier
If intake is manual, coverage will be poor and no downstream work fixes it — the fix is at intake.
- 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.
Clio → Matomo · prove
How it gets proven — Clio → Matomo
Source of truth
Clio's matters opened by open date, and billed revenue by matter, for the same window.
- The first-party visitor ID confirmed present on a live matter.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- A matter confirmed to carry the identifier from the original web enquiry.
Clio → 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
- Open a recent matter and look for the identifier
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Clio's matters opened by open date, and billed revenue by matter, for the same window.
Free30 minutesNo obligation
Clio → Matomo · when not to buy
When you don't need this — Clio → Matomo
- Measure identifier coverage yourself first — pull your last hundred matters and count how many carry the first-party visitor ID.
- If your intake is entirely manual and cannot be changed, measure what coverage you can achieve honestly before committing to a build.
- 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.
Clio → Matomo · what we deliver
What gets built — Clio → Matomo
Identifier capture into Clio
Write the identifier to a custom field on the Clio contact at intake, and carry it onto the matter when the matter is opened.
Event source: the Clio matter creation webhook
Fire when a matter is opened, valued at expected case value by practice area rather than at billed-to-date.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Matters closed without billing should not stand as conversions.
Written guarantee
95%+ tracking accuracy
Measured against Clio's matters opened by open date, and billed revenue by matter, for the same window.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Clio → Matomo questions, answered
Yes, if the Matomo visitor ID is captured on the intake form, stored on the Clio contact and sent back as a goal when the matter opens. Without that stored ID, Matomo only sees form submissions.
Usually the visitor ID never reached Clio because intake retyped the details, or the visit was purged by your log-deletion setting before the matter opened.
Almost always because the first-party visitor ID never reached the Clio matter. The identifier has to survive from the website through intake into the matter record, and in most firms intake is a separate system or a person with a notepad. That handoff is where legal attribution dies. 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 Clio matter creation webhook. Fire when a matter is opened, valued at expected case value by practice area rather than at billed-to-date.
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 Clio → Matomo
- Clio → Google AdsConnecting Clio to Google Ads
- Clio → MetaConnecting Clio to Meta Conversions API
- Clio → GA4Connecting Clio to GA4
RELATED GUIDES
Where Clio → Matomo fits in the rest of your tracking
- GoHighLevel → MatomoConnecting GoHighLevel to Matomo
- Zoho Books → MatomoConnecting Zoho Books to Matomo
- Zoho → MatomoConnecting Zoho CRM to Matomo
- Clio → Adobe AnalyticsConnecting Clio to Adobe Analytics
- Clio → GA4Connecting Clio to GA4
- B2BConversion tracking for B2B, from first touch to closed-won
- Pipedrive → MatomoConnecting Pipedrive to Matomo
- Insightly → MatomoConnecting Insightly to Matomo
Free · 30 min
Get Clio and Matomo joined properly
Free30 minutesNo obligation
