Connecting Bokun to Matomo
Bokun is owned by Tripadvisor and connects operators to Viator, so it is a distribution network with a booking engine attached rather than the other way round. 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 Bokun booking 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
Bokun bookings in Matomo with the confirmation code as order ID
The Matomo tracker on your site often never sees bookings completed inside the Bokun widget, so record them server-side through the Matomo Tracking API. Use the Bokun confirmation code as the ecommerce order ID, direct booking value as revenue and the tour as product, attached to the visitor ID captured before the widget opens. Exclude reseller bookings and reconcile monthly.
Matomo is a good fit for an operator that wants analytics on its own server, and the gap to close is the booking widget. Matomo's visitor cookie belongs to your domain. If the Bokun widget completes checkout inside an embed or on Bokun's own pages, Matomo's tracker on your site never sees the booking happen, so goals based on a thank-you page often record a fraction of real bookings.
Record the booking server-side through the Matomo Tracking API instead. Use the Bokun confirmation code as the ecommerce order ID, which Matomo deduplicates on, the direct booking value as revenue and the tour as the product. Capture Matomo's visitor ID on the product page before the widget opens and store it with the booking session, so the order attaches to the visit that carries the campaign.
Add custom dimensions that Matomo's ecommerce reports do not have for travel: departure date and lead time in days. They show whether search campaigns fill near-term departures or only book peak weeks that sell themselves. Keep reseller bookings out of Matomo entirely, and reconcile monthly direct bookings in Bokun against Matomo orders to see what share the join actually reaches.
Bokun → Matomo · what breaks
Why this join usually fails — Bokun → Matomo
- 01
The first-party visitor ID never reaches Bokun
Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain.
- 02
Distribution revenue attributed to advertising
Bokun's purpose is to put your product in front of travellers on other people's platforms. That works, and none of it is something your search campaign caused.
- 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.
- 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.
Bokun → Matomo · the fix
What working looks like — Bokun → Matomo
The first-party visitor ID on every booking
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
Bokun → Matomo · architecture
How Bokun and Matomo actually connect
- 1
Bokun holds the truth
Reseller bookings carry an OTA commission that can reach a quarter of the ticket price. Your net rate and the traveller's price are different numbers and only one of them is yours.
- 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
The identifier is the bridge
The first-party visitor ID, captured at the visit and carried into the Bokun booking.
- 4
The event source decides reliability
Send direct bookings at net value. Never send reseller bookings as conversions.
- 5
Deduplication at the destination
Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.
Bokun → Matomo · normal or broken
Working vs. broken, side by side — Bokun → Matomo
Normal, not a fault
The first-party visitor ID present on the booking
Sent from the Bokun booking 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
Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain.
Sent from the browser
Bokun's purpose is to put your product in front of travellers on other people's platforms. That works, and none of it is something your search campaign caused.
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
Bokun → Matomo · diagnose
Diagnostic order — Bokun → Matomo
- 01
Count bookings carrying the first-party visitor ID
- 02
Follow one real conversion end to end
- 03
Split by channel and check whether values are gross or net
Two questions, both usually answered wrongly, and together they can overstate return by a factor of two.
- 04
Check tracker reachability and database lag before debugging any tag
On self-hosted analytics the answer is infrastructure more often than instrumentation.
- 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.
Bokun → Matomo · prove
How it gets proven — Bokun → Matomo
Source of truth
Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.
- The first-party visitor ID confirmed present on a live booking.
- Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
- Direct bookings reconciled at net value against imported conversions.
Bokun → Matomo · free audit
What we check in the free audit
- Count bookings carrying the first-party visitor ID
- Follow one real conversion end to end
- Split by channel and check whether values are gross or net
- Check tracker reachability and database lag before debugging any tag
- Read the match rate, not the success message
Checked against
Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.
Free30 minutesNo obligation
Bokun → Matomo · when not to buy
When you don't need this — Bokun → Matomo
- Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the first-party visitor ID.
- An operator selling mainly through Viator has a distribution question, not a tracking question.
- 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.
Bokun → Matomo · what we deliver
What gets built — Bokun → Matomo
Identifier capture into Bokun
Attribute direct-website bookings only, and report reseller volume as a separate channel at net rate.
Event source: the Bokun booking record
Send direct bookings at net value. Never send reseller bookings as conversions.
Dispatch to Matomo
The Matomo HTTP Tracking API, posted server-side from your order system.
Reversals where they exist
Cancellations reverse.
Written guarantee
95%+ tracking accuracy
Measured against Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Bokun → Matomo questions, answered
The widget's checkout often runs outside your page, so Matomo's tracker never sees completion. Record bookings server-side instead.
The Bokun confirmation code, so refreshes and retried sends do not create duplicate orders.
Almost always because the first-party visitor ID never reached the Bokun booking. Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain. Measure coverage before debugging the dispatch.
Matomo sets its own first-party cookie and, when self-hosted on your domain, is not a third-party request at all. That means ad blockers and browser tracking-prevention affect it far less than a hosted analytics tag — one of the few genuine measurement advantages available under current privacy conditions.
The Bokun booking record. Send direct bookings at net value. Never send reseller bookings as conversions.
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.
More on Bokun → Matomo
- Bokun → Google AdsConnecting Bokun to Google Ads
- Bokun → MetaConnecting Bokun to Meta Conversions API
- Bokun → GA4Connecting Bokun to GA4
Using Bokun for bookings? How Bokun bookings get tracked end to end
RELATED GUIDES
Where Bokun → Matomo fits in the rest of your tracking
- TripWorks → MatomoConnecting TripWorks to Matomo
- Checkfront → MatomoConnecting Checkfront to Matomo
- TrekkSoft → MatomoConnecting TrekkSoft to Matomo
- Bokun → AmplitudeConnecting Bokun to Amplitude
- Bokun → GA4Connecting Bokun to GA4
- GolfConversion tracking for golf, measured across four revenue lines
- TourCMS → MatomoConnecting TourCMS to Matomo
- CourtReserve → MatomoConnecting CourtReserve to Matomo
Free · 30 min
Get Bokun and Matomo joined properly
Free30 minutesNo obligation
