Skip to main content
Bricks → MatomoIntegration guide

Connecting Bricks Builder to Matomo

Bricks generates lean markup and is popular with developers, which means the sites built on it are usually fast and the tracking is usually hand-written rather than plugin-driven. 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 Bricks form submission 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

Bricks Builder and Matomo: goals on AJAX forms, not thank-you URLs

Bricks AJAX forms load no thank-you URL, so track submissions in Matomo as an event or manually triggered goal from the form's success event, with the form name as action. For qualified leads, read Matomo's visitor ID into a hidden Bricks field and have the CRM post to the HTTP Tracking API. Cookieless Matomo breaks that join.

Matomo suits a Bricks site that wants analytics on infrastructure it controls: there is a Matomo plugin for WordPress that runs inside the same install, or a separate self-hosted Matomo on a subdomain. Either way, Bricks' AJAX forms do not load a confirmation URL, so a Matomo goal defined as a visit to /thank-you records nothing unless the developer switched forms to redirect.

Track the submission as an event, or a manually triggered goal, from the Bricks form's success event in the browser, with the form name as the event action. For the qualified outcome later, the CRM can post to Matomo's HTTP Tracking API with the visitor ID that was read from Matomo's first-party cookie into a hidden Bricks field at submit, so the qualified lead is credited to the original visit and its campaign rather than to a fresh server-side visit with no source.

Watch consent. Matomo can run cookieless, and if it does there is no visitor cookie to carry into the form and the server-side join stops working. Decide whether cookies are used before designing the hidden field. With the WordPress plugin, also check database load during campaigns, since tracking now competes with the same site that serves the forms.

Bricks → Matomo · what breaks

Why this join usually fails — Bricks → Matomo

  1. 01

    The first-party visitor ID never reaches Bricks

    Custom implementations vary per site, and forms submit over AJAX by default.

  2. 02

    Undocumented custom tracking

    A lean hand-built implementation is usually correct and almost never written down. The next person to touch the site either duplicates it or breaks it, and both failures are silent.

  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.

Bricks → Matomo · the fix

What working looks like — Bricks → Matomo

  • The first-party visitor ID on every submission

  • 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

    Bricks Builder's own records are the reference, not either dashboard.

Bricks → Matomo · architecture

How Bricks and Matomo actually connect

  1. 1

    Bricks Builder holds the truth

    Developer-built sites tend to have deliberate, minimal tracking. That is an advantage until the developer leaves and nobody knows what was implemented or where.

  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 Bricks form submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, with the implementation documented.

  5. 5

    Deduplication at the destination

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

Bricks → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the submission

    Visible on the record itself in Bricks Builder, not merely captured somewhere on the site.

  • Sent from your CRM record

  • 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 Bricks Builder's records agree within a few percent over a closed window.

Actually broken

  • The first-party visitor ID missing on most records

    Custom implementations vary per site, and forms submit over AJAX by default.

  • Sent from the browser

    A lean hand-built implementation is usually correct and almost never written down. The next person to touch the site either duplicates it or breaks it, and both failures are silent.

  • 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 Bricks Builder.

Bricks → Matomo · diagnose

Diagnostic order — Bricks → Matomo

  1. 01

    Count submissions carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Document the existing implementation before modifying it

    On developer-built sites this is the step that prevents the most damage.

  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.

Bricks → Matomo · prove

How it gets proven — Bricks → Matomo

Against Bricks Builder's own records, not against either platform's dashboard.

Source of truth

Your CRM record, joined to the submission.

  • The first-party visitor ID confirmed present on a live submission.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Qualified outcomes reconciled per form against imported conversions, with the implementation documented.

Bricks → Matomo · free audit

What we check in the free audit

  • Count submissions carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Document the existing implementation before modifying it
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your CRM record, joined to the submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bricks → Matomo · when not to buy

When you don't need this — Bricks → Matomo

  • If Matomo already reports conversions that reconcile against Bricks Builder'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 submissions and count how many carry the first-party visitor ID.
  • If the original developer is available, an hour of their time is worth more than a week of reverse engineering.
  • 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.

Bricks → Matomo · what we deliver

What gets built — Bricks → Matomo

  • Identifier capture into Bricks

    Document what exists before changing anything, then bind to the form submission event and pass the identifier through a hidden field.

  • Event source: your CRM record

    Send qualified outcomes per form, with the implementation documented.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM record, joined to the submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bricks → Matomo questions, answered

Trigger a Matomo event or goal from the Bricks form's success event, since there is no thank-you page to match. Name events by form so reports stay readable.

Free · 30 min

Get Bricks and Matomo joined properly

Free30 minutesNo obligation