Skip to main content
Newbook → MatomoIntegration guide

Connecting Newbook to Matomo

Newbook runs mixed-accommodation properties — cabins, powered sites, glamping tents — where each accommodation type has its own capacity, price and seasonality inside one park. 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 Newbook reservation 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

Newbook and Matomo: carrying the visitor ID into a hosted engine

Carry Matomo's visitor ID across with pk_vid only if the Newbook booking engine runs your tag. Otherwise track the handoff click, store the visitor ID on the reservation, and send the ecommerce order server-side through the HTTP Tracking API, using the Newbook booking number as order ID and accommodation type as product category. Reconcile cancellations against Newbook monthly.

Matomo's strength is a first-party visitor ID that ad blockers mostly leave alone, but that ID lives on your domain and the reservation happens in the Newbook-hosted booking engine. Matomo's cross-domain linking appends the visitor ID to outbound links as pk_vid so the next site can pick it up, which only helps if the Newbook engine runs your Matomo tag. Check whether your Newbook configuration allows custom tracking code on the booking pages.

If it does not, track the handoff click on your site, store the visitor ID with the reservation where Newbook offers a field for it, and send the ecommerce order server-side through the HTTP Tracking API once the reservation exists. Use the Newbook booking number as the order ID and set the accommodation type as the product category, so Matomo's ecommerce reports show revenue for cabins, sites and glamping separately.

Cancellations need a decision up front, because the tracking API is built to record orders rather than unwind them; check what your Matomo version offers before relying on it. Most parks are better off sending at booking and reconciling net revenue against Newbook monthly, with booking-to-arrival lead time read in Newbook, where it is accurate.

Newbook → Matomo · what breaks

Why this join usually fails — Newbook → Matomo

  1. 01

    The first-party visitor ID never reaches Newbook

    The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.

  2. 02

    Mixed inventory averaged into one occupancy figure

    A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.

  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.

Newbook → Matomo · the fix

What working looks like — Newbook → Matomo

  • The first-party visitor ID on every reservation

  • 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

Newbook → Matomo · architecture

How Newbook and Matomo actually connect

  1. 1

    Newbook holds the truth

    Mixed inventory means one park is several businesses. Glamping fills in summer at a premium; powered sites fill year-round at a lower rate. Averaging them produces a number that guides 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 Newbook reservation.

  4. 4

    The event source decides reliability

    Send direct-channel stays at total revenue, with accommodation type attached.

  5. 5

    Deduplication at the destination

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

Newbook → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the reservation

  • Sent from the Newbook reservation record

  • 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

    The booking engine is Newbook-hosted and the channel manager brings OTA reservations with no identifier at all.

  • Sent from the browser

    A park at ninety percent occupancy can be full on cheap sites and empty on premium cabins. The aggregate looks healthy and the revenue does not follow.

  • 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

Newbook → Matomo · diagnose

Diagnostic order — Newbook → Matomo

  1. 01

    Count reservations carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Report occupancy and revenue per accommodation type

    It is the difference between knowing the park is busy and knowing which part of it is earning.

  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.

Newbook → Matomo · prove

How it gets proven — Newbook → Matomo

Source of truth

Newbook reservations by arrival, with accommodation type and channel recorded.

  • The first-party visitor ID confirmed present on a live reservation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Direct stays reconciled at total revenue by accommodation type against imported conversions.

Newbook → Matomo · free audit

What we check in the free audit

  • Count reservations carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Report occupancy and revenue per accommodation type
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Newbook reservations by arrival, with accommodation type and channel recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

Newbook → Matomo · when not to buy

When you don't need this — Newbook → Matomo

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the first-party visitor ID.
  • Single-inventory parks can use one conversion action without losing anything.
  • 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.

Newbook → Matomo · what we deliver

What gets built — Newbook → Matomo

  • Identifier capture into Newbook

    Capture on your own domain and keep both accommodation type and channel on every reservation downstream.

  • Event source: the Newbook reservation record

    Send direct-channel stays at total revenue, with accommodation type attached.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Cancellations reverse, per accommodation type.

Written guarantee

95%+ tracking accuracy

Measured against Newbook reservations by arrival, with accommodation type and channel recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Newbook → Matomo questions, answered

Use Matomo's cross-domain linking if the engine accepts your tag; otherwise store the visitor ID with the reservation and send the order through the HTTP Tracking API. Either way the booking number should be the order ID.

Free · 30 min

Get Newbook and Matomo joined properly

Free30 minutesNo obligation