Skip to main content
BILL → MatomoIntegration guide

Connecting BILL to Matomo

BILL automates accounts payable and receivable, which means most of what flows through it is money going out — and none of that is a conversion under any definition. 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 BILL receivable 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

BILL payments in Matomo: possible, rarely worth it

Matomo can record a BILL payment as a goal against a visitor ID stored on the CRM lead, but backdated hits need an auth token and force a choice of revenue date. For most B2B teams, keep Matomo for the web journey and report revenue by Matomo source outside it, joined on that stored visitor ID.

Matomo can technically record a BILL payment as a goal conversion through its HTTP Tracking API, attached to the visitor who filled in your lead form, provided you stored Matomo's visitor ID on the CRM lead at that moment. But the payment arrives weeks later, and Matomo requires an authentication token for hits backdated more than about a day — check your version — so the setup needs a token with write access and a deliberate decision about which date the revenue belongs to.

That date is the real question. Record the payment on the payment date and it lands in a month with no related traffic; backdate it to the lead date and reports you already read change underneath you, and archived reports may need reprocessing. For most B2B teams on Matomo, the better answer is to keep Matomo for the web journey up to the lead and report revenue by Matomo-recorded source outside it, joined on the stored visitor ID.

Self-hosting is often why a company chose Matomo: customer data stays on its own servers. That makes it a more defensible place for financial data than a hosted tool, but invoice amounts tied to identifiable companies are still sensitive internally, so restrict who can see goal revenue through Matomo's user permissions.

BILL → Matomo · what breaks

Why this join usually fails — BILL → Matomo

  1. 01

    The first-party visitor ID never reaches BILL

    There is no browser session anywhere in an accounts-payable system, and receivables are created from contracts signed elsewhere.

  2. 02

    Payables exported alongside receivables

    It sounds too obvious to happen and it happens regularly, because both are payment records in the same system. The result is supplier payments counted as revenue, which inflates the total by whatever your cost base is.

  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.

BILL → Matomo · the fix

What working looks like — BILL → Matomo

  • The first-party visitor ID on every payment

  • 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

BILL → Matomo · architecture

How BILL and Matomo actually connect

  1. 1

    BILL holds the truth

    Both are transactions with amounts and dates and both will export cheerfully into the same spreadsheet. Only one of them is revenue.

  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 BILL receivable.

  4. 4

    The event source decides reliability

    Send received payments on customer invoices only, at the amount received.

  5. 5

    Deduplication at the destination

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

BILL → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the payment

  • Sent from the BILL receivable payment

  • 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

    There is no browser session anywhere in an accounts-payable system, and receivables are created from contracts signed elsewhere.

  • Sent from the browser

    It sounds too obvious to happen and it happens regularly, because both are payment records in the same system. The result is supplier payments counted as revenue, which inflates the total by whatever your cost base is.

  • 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

BILL → Matomo · diagnose

Diagnostic order — BILL → Matomo

  1. 01

    Count payments carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check the direction field on every record before importing anything

    One column. Getting it wrong is not a small error, it is a sign-flip on a large share of the data.

  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.

BILL → Matomo · prove

How it gets proven — BILL → Matomo

Source of truth

BILL receivables marked paid, strictly separated from payables.

  • The first-party visitor ID confirmed present on a live payment.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Customer payments received reconciled against imported conversions, with payables demonstrably excluded.

BILL → Matomo · free audit

What we check in the free audit

  • Count payments carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check the direction field on every record before importing anything
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

BILL receivables marked paid, strictly separated from payables.

Get my free conversion tracking audit

Free30 minutesNo obligation

BILL → Matomo · when not to buy

When you don't need this — BILL → Matomo

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the first-party visitor ID.
  • If you use BILL only for payables, there is nothing here to attribute and no integration to 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.

BILL → Matomo · what we deliver

What gets built — BILL → Matomo

  • Identifier capture into BILL

    Attribute at the CRM or contract stage and use BILL only to confirm the money actually arrived.

  • Event source: the BILL receivable payment

    Send received payments on customer invoices only, at the amount received.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Reversed and disputed payments reverse.

Written guarantee

95%+ tracking accuracy

Measured against BILL receivables marked paid, strictly separated from payables.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

BILL → Matomo questions, answered

Through the HTTP Tracking API with a stored visitor ID and an auth token for backdated hits. Most teams are better served joining Matomo source data to BILL payments outside Matomo.

Free · 30 min

Get BILL and Matomo joined properly

Free30 minutesNo obligation