Skip to main content
Capsule → MatomoIntegration guide

Connecting Capsule CRM to Matomo

Capsule is a deliberately simple CRM for small businesses, which means fewer places for the identifier to hide and fewer features to work with. 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 Capsule opportunity 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

Capsule deals in Matomo: carry the visit and the campaign

Submit the Matomo visitor ID with the enquiry form and store it on the Capsule party and opportunity. At the won milestone, send an ecommerce order to Matomo's HTTP Tracking API with that visitor ID, opportunity value, the opportunity ID as order ID, and the captured campaign name and source. Report lost deals and win rate in Capsule.

Matomo makes sense for a small business that wants campaign reporting without sending visitor data to a third party, and Capsule closes the loop it cannot see: which enquiries became paying clients. Read the Matomo visitor ID on the enquiry page, submit it with the form, and store it in a custom field on the Capsule party and its opportunity.

When the opportunity reaches the won milestone, send an ecommerce order to Matomo's HTTP Tracking API with that visitor ID, the opportunity value, and the Capsule opportunity ID as the order ID. Because the hit is sent weeks after the visit, from a server, it has no referrer of its own; include the original campaign name and source the form captured, or check how your Matomo version attributes a late server-side conversion before trusting the channel report. The order ID also protects you when a deal is reopened and won again: Matomo will not record a second order with the same ID.

Lost deals and reductions in value are not things Matomo can retract cleanly, so report win rate and pipeline in Capsule and use Matomo only for which campaigns produce enquiries that turn into wins.

Capsule → Matomo · what breaks

Why this join usually fails — Capsule → Matomo

  1. 01

    The first-party visitor ID never reaches Capsule

    Custom fields exist on parties and opportunities but must be populated deliberately, and Capsule's web-form capture is basic enough that many small businesses enter records by hand.

  2. 02

    Manual record entry

    At Capsule's typical business size, records are frequently created by a person retyping details from an email. Nothing typed by hand carries a click identifier.

  3. 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.

  4. 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.

Capsule → Matomo · the fix

What working looks like — Capsule → Matomo

  • The first-party visitor ID on every opportunity

  • 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

    Capsule CRM's own records are the reference, not either dashboard.

Capsule → Matomo · architecture

How Capsule and Matomo actually connect

  1. 1

    Capsule CRM holds the truth

    Capsule's simplicity is an advantage here — one party record, one opportunity, and a clear won state. There is less to get wrong than in an enterprise CRM.

  2. 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. 3

    The identifier is the bridge

    The first-party visitor ID, captured at the visit and carried into the Capsule opportunity.

  4. 4

    The event source decides reliability

    Fire on the won milestone with the opportunity value.

  5. 5

    Deduplication at the destination

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

Capsule → Matomo · normal or broken

Working vs. broken, side by side — Capsule → Matomo

Normal, not a fault

  • The first-party visitor ID present on the opportunity

    Visible on the record itself in Capsule CRM, not merely captured somewhere on the site.

  • Sent from a Capsule webhook on opportunity milestone change

  • Deduplicated correctly

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

    Matomo's count and Capsule CRM's records agree within a few percent over a closed window.

Actually broken

  • The first-party visitor ID missing on most records

    Custom fields exist on parties and opportunities but must be populated deliberately, and Capsule's web-form capture is basic enough that many small businesses enter records by hand.

  • Sent from the browser

    At Capsule's typical business size, records are frequently created by a person retyping details from an email. Nothing typed by hand carries a click identifier.

  • 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

    The dashboard shows a number and no one has compared it to Capsule CRM.

Capsule → Matomo · diagnose

Diagnostic order — Capsule → Matomo

  1. 01

    Count opportunitys carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what share of parties were created via the API rather than manually

    Manual creation is the coverage ceiling and it is an operational fix, not a technical one.

  4. 04

    Check tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 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.

Capsule → Matomo · prove

How it gets proven — Capsule → Matomo

Against Capsule CRM's own records, not against either platform's dashboard.

Source of truth

Capsule opportunities marked won by close date, at their values.

  • The first-party visitor ID confirmed present on a live opportunity.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • A web-form-originated party confirmed to carry the identifier onto its opportunity.

Capsule → Matomo · free audit

What we check in the free audit

  • Count opportunitys carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check what share of parties were created via the API rather than manually
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Capsule opportunities marked won by close date, at their values.

Get my free conversion tracking audit

Free30 minutesNo obligation

Capsule → Matomo · when not to buy

When you don't need this — Capsule → Matomo

  • If Matomo already reports conversions that reconcile against Capsule CRM's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred opportunitys and count how many carry the first-party visitor ID.
  • This is a small build. If you have a developer, the API work is an afternoon and we would say so.
  • 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.

Capsule → Matomo · what we deliver

What gets built — Capsule → Matomo

  • Identifier capture into Capsule

    Add a custom field to the party, populate it from the web form via the API, and carry it onto the opportunity when created.

  • Event source: a Capsule webhook on opportunity milestone change

    Fire on the won milestone with the opportunity value.

  • Dispatch to Matomo

    The Matomo HTTP Tracking API, posted server-side from your order system.

  • Reversals where they exist

    Opportunities reopened should not double-count when they win again.

Written guarantee

95%+ tracking accuracy

Measured against Capsule opportunities marked won by close date, at their values.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Capsule → Matomo questions, answered

Store the Matomo visitor ID and campaign on the Capsule party from the web form, then send the won opportunity as an ecommerce order with that visitor ID and the opportunity ID.

Free · 30 min

Get Capsule and Matomo joined properly

Free30 minutesNo obligation