Skip to main content
QuickBooks → MatomoIntegration guide

Connecting QuickBooks to Matomo

QuickBooks holds the invoice and the payment, which for a great many service businesses is the only place the real revenue number exists. 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 QuickBooks invoice 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

QuickBooks invoices as Matomo orders, weeks after the visit

Send a paid QuickBooks invoice to Matomo as a server-side ecommerce order, with the invoice number as order ID. It reaches the right visitor only if the lead form captured the Matomo visitor ID into a QuickBooks customer custom field. Send it at the current time, not backdated, with only visitor ID, invoice number and amount.

Matomo can record a paid QuickBooks invoice as an ecommerce order sent from your server, with the invoice number as the order ID so a resend does not double-count. What makes this pair awkward is the delay. The visit that produced the lead happened weeks before the payment, so the order only lands on the right visitor if the Matomo visitor ID was captured on your lead form and written onto the QuickBooks customer, typically in a custom field, when the customer was created.

Backdating is the second trap. Matomo's tracking API accepts a custom timestamp, but hits dated more than a few hours in the past need an auth token, and reports already archived for those dates do not change until you invalidate them. Send the payment with the visitor ID and the current time and you get a clean order on today's date attributed through the visitor's stored referrer. Backdate it without invalidating archives and the order exists in the raw log but not in the reports anyone reads.

The case for this pair is ownership. A self-hosted Matomo plus QuickBooks gives a small service firm revenue by channel without sending client names or invoice details to an ad platform. Send only the visitor ID, invoice number and amount; leave customer names in QuickBooks.

QuickBooks → Matomo · what breaks

Why this join usually fails — QuickBooks → Matomo

  1. 01

    The first-party visitor ID never reaches QuickBooks

    QuickBooks is an accounting system, so nothing about marketing reaches it unless your own process puts it there. The identifier has to be written to a custom field on the customer or invoice by whatever creates them, which is usually a CRM or a manual step.

  2. 02

    An accounting system with no marketing context

    QuickBooks knows exactly what was earned and nothing about where it came from. Bridging that is the entire job, and it usually means writing the identifier at customer creation in a different system.

  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.

QuickBooks → Matomo · the fix

What working looks like — QuickBooks → Matomo

  • The first-party visitor ID on every invoice

  • 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

QuickBooks → Matomo · architecture

How QuickBooks and Matomo actually connect

  1. 1

    QuickBooks holds the truth

    Invoice issued and invoice paid are different events with different dates, and in service businesses the gap between them is routinely weeks. Reporting on the wrong one produces a persistent, confusing discrepancy against the bank.

  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 QuickBooks invoice.

  4. 4

    The event source decides reliability

    Fire when an invoice is paid rather than issued. For businesses on payment terms this is the difference between reporting money you have and money you hope for.

  5. 5

    Deduplication at the destination

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

QuickBooks → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the invoice

  • Sent from the QuickBooks payment 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

    QuickBooks is an accounting system, so nothing about marketing reaches it unless your own process puts it there. The identifier has to be written to a custom field on the customer or invoice by whatever creates them, which is usually a CRM or a manual step.

  • Sent from the browser

    QuickBooks knows exactly what was earned and nothing about where it came from. Bridging that is the entire job, and it usually means writing the identifier at customer creation in a different system.

  • 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

QuickBooks → Matomo · diagnose

Diagnostic order — QuickBooks → Matomo

  1. 01

    Count invoices carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a paid invoice and trace it back to a customer record

    Does that customer carry an identifier? If not, revenue is measurable and unattributable.

  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.

QuickBooks → Matomo · prove

How it gets proven — QuickBooks → Matomo

Source of truth

QuickBooks' paid invoices by payment date, for the same window.

  • The first-party visitor ID confirmed present on a live invoice.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Paid invoices reconciled per invoice against the platforms, with the paid-versus-issued distinction stated.

QuickBooks → Matomo · free audit

What we check in the free audit

  • Count invoices carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Open a paid invoice and trace it back to a customer record
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

QuickBooks' paid invoices by payment date, for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

QuickBooks → Matomo · when not to buy

When you don't need this — QuickBooks → Matomo

  • Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the first-party visitor ID.
  • If your CRM already holds closed-won deals with values, work there instead — it is closer to the click and simpler to wire.
  • 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.

QuickBooks → Matomo · what we deliver

What gets built — QuickBooks → Matomo

  • Identifier capture into QuickBooks

    Write the click identifier onto the QuickBooks customer record when the customer is created, so every future invoice for that customer can be traced back to the original acquisition.

  • Event source: the QuickBooks payment webhook

    Fire when an invoice is paid rather than issued. For businesses on payment terms this is the difference between reporting money you have and money you hope for.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Credit notes and refunds are recorded against the original invoice, so reversals are straightforward once the identifier is on the customer.

Written guarantee

95%+ tracking accuracy

Measured against QuickBooks' paid invoices by payment date, for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

QuickBooks → Matomo questions, answered

Yes, if each invoice is sent as an ecommerce order using the visitor ID captured at lead time, with the invoice number as the order ID.

Free · 30 min

Get QuickBooks and Matomo joined properly

Free30 minutesNo obligation