Skip to main content
iubenda → MatomoIntegration guide

Connecting iubenda to Matomo

iubenda bundles consent management with generated privacy policies and cookie declarations, which means the published document and the actual behaviour can drift apart silently. 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 iubenda consent record 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

Matomo with iubenda: cookieless for decliners, not nothing

Wire iubenda's preference callback to Matomo's consent methods. Its require-cookie-consent mode keeps cookieless page counts until measurement consent is granted, unlike the stricter mode blocking all tracking; choose per region. Send server ecommerce orders with recorded consent, omitting the visitor ID for decliners, and describe self-hosted Matomo as first-party in the declaration.

Matomo is one of the few analytics tools where declining cookies need not mean declining measurement. Its JavaScript tracker can be set to require cookie consent, which keeps counting page views without cookies until consent is given and then remembers consent once iubenda's measurement purpose is granted. Wiring iubenda's preference callback to Matomo's consent methods is a short job and keeps aggregate traffic intact for every visitor.

Distinguish that from Matomo's stricter mode, which blocks all tracking until consent. Choose deliberately, and per region if your iubenda configuration differs for EU and US visitors. Server-side ecommerce orders posted through the HTTP Tracking API should carry the consent state recorded with the order, and orders from decliners should be sent without a visitor ID that ties them to a profile.

Self-hosting changes what the declaration should say. Matomo on your own domain is first-party and data goes to no third party, which is worth stating accurately instead of letting a generic analytics entry imply a vendor receives your visitors' data. If you use Matomo Cloud, the hosted provider is a processor and should be named.

iubenda → Matomo · what breaks

Why this join usually fails — iubenda → Matomo

  1. 01

    The first-party visitor ID never reaches iubenda

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  2. 02

    A cookie declaration that no longer matches the site

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  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.

iubenda → Matomo · the fix

What working looks like — iubenda → Matomo

  • The first-party visitor ID on every consent record

  • 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

iubenda → Matomo · architecture

How iubenda and Matomo actually connect

  1. 1

    iubenda holds the truth

    The cookie declaration lists what the site sets. Adding a new conversion destination adds cookies and data sharing the declaration does not mention until somebody updates it.

  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 iubenda consent record.

  4. 4

    The event source decides reliability

    Send consented conversions, with the destination list matching the published declaration.

  5. 5

    Deduplication at the destination

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

iubenda → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the consent record

  • Sent from your order system, gated on consent

  • 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

    Blocking runs before scripts execute, and the declaration is generated from a scan that may be months old.

  • Sent from the browser

    Every new conversion destination is a new data-sharing relationship. If the declaration was generated before it was added, the site is disclosing to a partner its own published document does not name.

  • 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

iubenda → Matomo · diagnose

Diagnostic order — iubenda → Matomo

  1. 01

    Count consent records carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare your destination list against the published declaration

    Five minutes, and it is almost never done after a new integration goes live.

  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.

iubenda → Matomo · prove

How it gets proven — iubenda → Matomo

Source of truth

Your order system, with consent state attached to the event.

  • The first-party visitor ID confirmed present on a live consent record.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Consented conversions reconciled, with the declaration verified against the live destination list.

iubenda → Matomo · free audit

What we check in the free audit

  • Count consent records carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Compare your destination list against the published declaration
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Your order system, with consent state attached to the event.

Get my free conversion tracking audit

Free30 minutesNo obligation

iubenda → Matomo · when not to buy

When you don't need this — iubenda → Matomo

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the first-party visitor ID.
  • Update the declaration before adding a destination, not after. That order is cheaper than the alternative.
  • 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.

iubenda → Matomo · what we deliver

What gets built — iubenda → Matomo

  • Identifier capture into iubenda

    Capture after consent, and re-run the scan whenever a destination is added.

  • Event source: your order system, gated on consent

    Send consented conversions, with the destination list matching the published declaration.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Withdrawal stops future sends.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with consent state attached to the event.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

iubenda → Matomo questions, answered

Yes, if you configure it to require cookie consent rather than all consent; it then counts visits without cookies until consent is given. Whether that is acceptable depends on your jurisdiction.

Free · 30 min

Get iubenda and Matomo joined properly

Free30 minutesNo obligation