Connecting Nutshell to Matomo
Nutshell is a small-business CRM with marketing features attached, which means the same platform sends the emails and records the deals. 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 Nutshell lead 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
Nutshell to Matomo: carry the visitor ID into the form, send at won
Put the Matomo visitor ID in a hidden field on the Nutshell form and store it on the contact. When the lead is won, call Matomo's HTTP Tracking API server-side, with an authenticated token, sending that visitor ID and an ecommerce order using the Nutshell lead ID and lead value. Log requests for replay.
Matomo can credit a won Nutshell lead to the visits that started it, as long as the Matomo visitor ID travels with the enquiry. Read it from the Matomo tracker on the page, put it in a hidden field on the Nutshell form, and store it on the contact. When the lead turns won, your server calls the Matomo HTTP Tracking API with that visitor ID, an ecommerce order using the Nutshell lead ID as the order ID, and the lead value as revenue.
Two Matomo specifics. Forcing a visitor ID or backdating a request beyond a short window requires an authenticated call, so the token lives on your server and never in the browser. And Matomo credits an ecommerce conversion to the referrer it holds for that visitor, so check how your version treats a conversion weeks after the last visit; a deal that closes after a long gap can land as direct entry if the campaign wasn't retained.
Self-hosting is why many Nutshell users pick Matomo, and it suits a CRM loop: lead data never goes to a third-party analytics vendor. The flip side is that a full disk or a stalled archiving job silently drops the won events. Log each request and response on your side so failed ones can be replayed, and compare the monthly won count in Nutshell with Matomo's ecommerce orders.
Nutshell → Matomo · what breaks
Why this join usually fails — Nutshell → Matomo
- 01
The first-party visitor ID never reaches Nutshell
Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email.
- 02
Vocabulary that inverts the usual meaning
In Nutshell a lead is what other CRMs call an opportunity. Teams routinely build conversions on the wrong object because they assumed the standard meaning.
- 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.
Nutshell → Matomo · the fix
What working looks like — Nutshell → Matomo
The first-party visitor ID on every lead
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
Nutshell → Matomo · architecture
How Nutshell and Matomo actually connect
- 1
Nutshell holds the truth
Nutshell calls its opportunity object a lead, which confuses every conversation about lead-versus-deal. Establish the vocabulary before agreeing what a conversion is.
- 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 Nutshell lead.
- 4
The event source decides reliability
Fire on won, with the value. Email engagement is reporting, never a conversion.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Nutshell → Matomo · normal or broken
Working vs. broken, side by side — Nutshell → Matomo
Normal, not a fault
The first-party visitor ID present on the lead
Sent from a Nutshell webhook on lead status change
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
Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email.
Sent from the browser
In Nutshell a lead is what other CRMs call an opportunity. Teams routinely build conversions on the wrong object because they assumed the standard meaning.
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
Nutshell → Matomo · diagnose
Diagnostic order — Nutshell → Matomo
- 01
Count leads carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Confirm which Nutshell object your team means by lead
Getting this wrong produces a conversion feed built on the wrong record entirely.
- 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.
Nutshell → Matomo · prove
How it gets proven — Nutshell → Matomo
Source of truth
Nutshell leads marked won by close date, at their values.
- The first-party visitor ID confirmed present on a live lead.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- The object model confirmed in writing, with the identifier surviving a later marketing email touch.
Nutshell → Matomo · free audit
What we check in the free audit
- Count leads carrying the first-party visitor ID
- Follow one real conversion end to end
- Confirm which Nutshell object your team means by lead
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Nutshell leads marked won by close date, at their values.
Free30 minutesNo obligation
Nutshell → Matomo · when not to buy
When you don't need this — Nutshell → Matomo
- Measure identifier coverage yourself first — pull your last hundred leads and count how many carry the first-party visitor ID.
- If money is taken in a separate system, that system is authoritative and Nutshell holds the pipeline only.
- 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.
Nutshell → Matomo · what we deliver
What gets built — Nutshell → Matomo
Identifier capture into Nutshell
Write the identifier to a custom field at contact creation with a guard against later overwriting.
Event source: a Nutshell webhook on lead status change
Fire on won, with the value. Email engagement is reporting, never a conversion.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Leads reopened and lost should not stand.
Written guarantee
95%+ tracking accuracy
Measured against Nutshell leads marked won by close date, at their values.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Nutshell → Matomo questions, answered
Store the Matomo visitor ID on the Nutshell contact from a hidden form field, then on won call the HTTP Tracking API with that ID, the Nutshell lead ID as order ID, and the value.
Usually the visitor ID wasn't captured, or the campaign attribution for that visitor wasn't kept until the deal closed. Check the hidden field on a fresh test lead first.
Almost always because the first-party visitor ID never reached the Nutshell lead. Nutshell's own email marketing touches contacts repeatedly, and an unguarded custom field will be overwritten by later activity — handing credit for paid-acquired customers to your own email. 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.
A Nutshell webhook on lead status change. Fire on won, with the value. Email engagement is reporting, never a conversion.
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 Nutshell → Matomo
- Nutshell → Google AdsConnecting Nutshell to Google Ads
- Nutshell → MetaConnecting Nutshell to Meta Conversions API
- Nutshell → GA4Connecting Nutshell to GA4
RELATED GUIDES
Where Nutshell → Matomo fits in the rest of your tracking
- Less Annoying CRM → MatomoConnecting Less Annoying CRM to Matomo
- Copper → MatomoConnecting Copper to Matomo
- Freshsales → MatomoConnecting Freshsales to Matomo
- Nutshell → GA4Connecting Nutshell to GA4
- Nutshell → Adobe AnalyticsConnecting Nutshell to Adobe Analytics
- Law firmsConversion tracking for law firms, without sending case details anywhere
- HubSpot → MatomoConnecting HubSpot to Matomo
- Insightly → MatomoConnecting Insightly to Matomo
Free · 30 min
Get Nutshell and Matomo joined properly
Free30 minutesNo obligation
