Skip to main content
CookieYes → MatomoIntegration guide

Connecting CookieYes to Matomo

CookieYes serves smaller sites that adopted a consent banner because a plugin suggested it, which frequently means the banner is stricter than the business's legal position requires. 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 CookieYes 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

CookieYes and Matomo on WordPress: cookieless before blocking

On WordPress, consider running Matomo cookieless outside CookieYes's blocking where your markets allow it, so visits, pages and goals are still counted; enable cookies only once analytics is accepted. Send orders or enquiries from your server through Matomo's HTTP Tracking API with the order ID, and check your Matomo plugin isn't already sending WooCommerce orders, or revenue doubles.

Many sites running CookieYes are on WordPress, and Matomo for WordPress is a common pairing. CookieYes will categorise Matomo as analytics and block it under default-deny, which removes decliners from your reports entirely. Matomo offers another option: with cookies disabled, it can record visits without storing an identifier on the device. Whether cookieless Matomo can run before consent depends on your markets, and for a US-only site it often can. Confirm with counsel, then exclude Matomo from CookieYes's blocking rather than gating it.

The trade-off is concrete. Cookieless Matomo still counts visits, pages and goals, but each visit is close to anonymous; returning-visitor and multi-session attribution are weaker. For a small site whose questions are 'which pages bring enquiries', that is enough. If you need returning-visitor data, switch on cookies only when CookieYes reports the analytics category accepted.

Orders or enquiries should come from your server through Matomo's HTTP Tracking API, with the order ID so a refreshed confirmation page does not record twice. On WordPress, check whether your Matomo plugin already sends WooCommerce orders server-side before adding a second route, because two routes mean double-counted revenue.

CookieYes → Matomo · what breaks

Why this join usually fails — CookieYes → Matomo

  1. 01

    The first-party visitor ID never reaches CookieYes

    Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.

  2. 02

    A banner stricter than the law requires

    Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.

  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.

CookieYes → Matomo · the fix

What working looks like — CookieYes → 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

CookieYes → Matomo · architecture

How CookieYes and Matomo actually connect

  1. 1

    CookieYes holds the truth

    For a small business the practical question is often whether the banner configuration matches the obligation. A default-deny banner in a market with no such requirement is data thrown away for nothing.

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

  4. 4

    The event source decides reliability

    Send consented conversions with the consent rate stated.

  5. 5

    Deduplication at the destination

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

CookieYes → Matomo · normal or broken

Working vs. broken, side by side — CookieYes → 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

    Default configurations frequently block before consent, so identifier capture is lost on the first page for every visitor.

  • Sent from the browser

    Plugins default to the strictest setting because that is safest for the plugin vendor. For a business whose customers are all in a market with different rules, that default costs a large share of measurable conversions and buys no protection that was needed.

  • 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

CookieYes → Matomo · diagnose

Diagnostic order — CookieYes → Matomo

  1. 01

    Count consent records carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm which regulations actually apply to your customer base

    A legal question, not a technical one, and worth answering before accepting a default that costs you a third of your 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.

CookieYes → Matomo · prove

How it gets proven — CookieYes → 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 against imported figures, with the configuration checked against the obligation.

CookieYes → 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
  • Confirm which regulations actually apply to your customer base
  • 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

CookieYes → Matomo · when not to buy

When you don't need this — CookieYes → Matomo

  • Measure identifier coverage yourself first — pull your last hundred consent records and count how many carry the first-party visitor ID.
  • This is the common case for small sites: get the legal position confirmed first. The right banner may be considerably lighter than the one installed.
  • 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.

CookieYes → Matomo · what we deliver

What gets built — CookieYes → Matomo

  • Identifier capture into CookieYes

    Check the default blocking behaviour against your actual legal obligation, then capture accordingly.

  • Event source: your order system, gated on consent

    Send consented conversions with the consent rate stated.

  • 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

CookieYes → Matomo questions, answered

It depends on your markets. Matomo can run without cookies, which in many US cases does not need opt-in. Confirm with counsel before excluding it from CookieYes blocking.

Free · 30 min

Get CookieYes and Matomo joined properly

Free30 minutesNo obligation