Short answer
Bókun Meta pixel tracking is built in: in Settings > Sales settings > Booking channels, open the channel your widgets use, go to the tracking step, toggle the Facebook Pixel tracking card and paste your Pixel ID. Bókun's documentation says it sends Meta standard events only, including ViewContent, AddToCart, InitiateCheckout and a Purchase when the receipt is viewed, with the cart total as value and the selected currency as currency. Bókun's help center does not describe a Conversions API integration or an event ID for deduplication, so any server-side setup is a separate build that needs care to avoid double counting.
How the Bókun pixel fits into your site
Bókun widgets are iframes loaded from widgets.bokun.io, as Bókun's article on embedding a booking widget states. The checkout and the receipt happen inside that frame, and under the browser's same-origin policy a page and a frame from different origins have very limited access to each other, so a Meta pixel on your own pages cannot see the purchase by itself. Bókun's answer is a pixel setting on the booking channel: you give Bókun your Pixel ID and the widget sends the booking events. Bókun's guide to configuring Meta Pixel tracking documents the setting, the events and their properties.
The setting belongs to a booking channel, the same place Bókun keeps its Google Tag Manager and GA4 settings. If you have several websites with their own channels, set the Pixel ID on each channel that should report to this pixel.
What the documentation does not say
Bókun does not say whether its pixel code runs inside the widget frame or on your page, whether it passes an event ID, a booking reference or Advanced Matching data, or how it behaves with a cookie banner. Meta Ads Data Advisor shows the page location each pixel event came from, which answers the first question for your own site. Our booking tracking hub explains why the frame matters for attribution across platforms.
Connect your Meta pixel to Bókun
1. Find your Pixel ID
- Open Meta Events Manager and select your pixel.
- Copy the numeric ID. Bókun's article shows it as a 15-digit code.
2. Add it to the booking channel
- In Bókun, go to Settings > Sales settings > Booking channels.
- Select the booking channel your website's embed code uses.
- Go to the tracking step.
- Toggle the Facebook Pixel tracking card and paste your Pixel ID.
- Save.
3. Decide what your own site's pixel does
Most operators also have a Meta pixel on their own website, from a theme setting, a plugin or GTM, for page views on pages without a widget. That is fine. What to avoid is a second Purchase for the same booking:
- Do not add a Meta Purchase tag in GTM that fires on Bókun's
purchasedataLayer event while the Bókun pixel card is on. Bókun already sends Purchase when the receipt is viewed. If you imported Bókun's GTM configuration, check the imported tags for anything that sends to Meta as well, since Bókun does not publish the file's contents. - Use the same Pixel ID on the site and in Bókun, so the browsing and the booking land in one pixel.
- If you prefer to send Meta events from GTM instead (for example to control consent in one place), turn the Bókun pixel card off and build the Purchase tag from the
purchaseevent. Bókun does not document the field names in that push, so read the value, currency and booking reference keys from the Data Layer tab in GTM Preview before you map them, and note that the widget's ViewContent, AddToCart and InitiateCheckout events stop too unless you rebuild them. Bókun's GTM route is described in our Bókun GA4 purchase tracking guide.
Events and parameters Bókun sends
Bókun's article says its tracking only sends standard events and lists the triggers and properties below. Bókun writes the first event as "View content"; Meta's code name for it is ViewContent.
| When it fires | Event | Properties Bókun lists |
|---|---|---|
| A product list is viewed | ViewContent | content_ids (product list ID), content_name, content_category "Product List", content_type "product", currency |
| A product calendar or product page is shown | ViewContent | content_ids (product ID), content_name, content_category "Product", content_type "product", currency, value (default price of the product) |
| An item is added to the cart | AddToCart | content_ids, content_name, content_category "Product List", content_type "product", contents, currency, value (price of the product) |
| Checkout is started | InitiateCheckout | content_category "Product", content_ids, contents, num_items (including extras), currency, value (total price of the cart) |
| The receipt is viewed | Purchase | content_ids, content_name, num_items (including extras), content_type "product", contents, currency (the selected currency), value (total price of the cart) |
Meta's Meta Pixel reference marks value and currency as required for Purchase, and Bókun's list includes both. Two details to keep in mind:
- Currency follows the traveller. Bókun sends the currency the traveller selected, and Bókun's checkout widget article notes that travellers can change the currency in the widget. If you offer several currencies, expect Purchase events in more than one currency.
- No order ID is listed. The Purchase properties do not include a booking reference or an event ID. That matters for deduplication with the Conversions API, covered next.
For reference, a browser Purchase in Meta's format looks like this. Bókun's integration sends its own events; this only shows the shape Meta expects, with example values:
JavaScript
// Meta standard Purchase event, Meta's documented format.
// value and currency are required for Purchase.
fbq('track', 'Purchase', {
value: 129.00,
currency: 'USD',
content_type: 'product',
content_ids: ['12345'],
num_items: 2
});Conversions API with Bókun
Bókun's help center does not describe a Meta Conversions API integration. The help center lists no booking channel setting for it, and the pixel article covers browser events only. Here is what that means in practice and what the documented building blocks are.
What Meta offers on its side
Meta's Conversions API overview describes a connection from an advertiser's server, website platform, app or CRM to Meta, and mentions that a website with a Meta pixel can add the Conversions API from Events Manager without code. Neither Bókun nor Meta documents whether that option captures the events Bókun's widget sends, or whether its server Purchase would be matched to Bókun's browser Purchase. If you try it, compare the server events with your Bókun bookings in Events Manager, and check that each booking is counted once, before relying on them.
Building it yourself from Bókun webhooks
Bókun's webhooks article describes booking webhooks under Settings > Connections > Webhooks, sent when a booking is confirmed, updated or cancelled, with optional custom HTTP headers. Its Zapier webhooks guide shows the HTTP Booking notification type with JSON format and a Notify on booking confirmed option. A server you control (or an automation tool) can receive that notification and send a Purchase to the Conversions API. Points to plan for:
- The booking webhook payload fields are not listed in the help center article. For apps, Bókun's developer webhook events reference shows booking events carrying only a timestamp and booking ID, with details fetched through the API. Check what your webhook actually delivers before mapping value and currency.
- Bókun notes that webhooks are switched off after 10 failures in a row, and also when a trial ends without moving to a paid plan.
- Meta's Using the API page says
event_timeis a Unix timestamp in seconds for when the event happened, and that you confirmaction_sourceis accurate. - Meta's server event parameters make
event_source_urlandclient_user_agentrequired for website events. Bókun does not document either in its webhooks, so plan where those browser values come from before you send website Purchases from a webhook.
Deduplication is the hard part
Meta's deduplication guide says a browser event and a server event are treated as one only when the pixel's eventID matches the server's event_id and the event names match, within 48 hours:
JavaScript
// Meta's documented pixel syntax for passing an event ID (fourth argument).
fbq('track', 'Purchase', {value: 12, currency: 'USD'}, {eventID: 'EVENT_ID'});Bókun's pixel documentation does not mention an eventID, so a server Purchase you send for the same booking cannot be matched to Bókun's browser Purchase from the documented settings. Sending both would count each booking twice. Until Bókun confirms an event ID you can reproduce on the server, choose one source for Purchase: keep the Bókun pixel's browser Purchase, or turn the pixel card off and send Purchase from your server only (keeping the browsing events from your site's pixel). Ask Bókun support if a shared event ID is available for your account.
Verify Bókun pixel events
Bókun recommends the Facebook Pixel Helper extension. Meta now calls it Meta Ads Data Advisor (formerly Meta Pixel Helper), and existing installs update automatically. Disable ad blockers on the tab you test with, or events may not show.
- Open a page on your site with a Bókun widget. Data Advisor should show your pixel with PageView from your site's pixel, if you have one.
- Open a product in the widget. A ViewContent event should appear with your Pixel ID.
- Add to cart and start checkout. AddToCart and InitiateCheckout should appear with value and currency.
- Complete the booking to the receipt. A single Purchase should appear with
valueequal to the cart total and the rightcurrency. Note the page location Data Advisor shows for the event. - In Events Manager, open your pixel and the Test Events tab. Meta's Using the API page gives the location as Events Manager > Data Sources > your pixel > Test Events. Follow the on-screen steps there for website events, then repeat steps 2 to 4 and watch the events arrive.
Bókun does not document a test booking mode. Use a low-value real booking on a product you can cancel, then cancel and refund it in Bókun.
Common Meta pixel problems with Bókun
- No events from the widget. The pixel card is on a different booking channel than the one your embed code uses, the card was not saved, or an ad blocker is hiding the events. See no purchase event.
- Two Purchase events per booking. A GTM Meta Purchase tag fires on the same booking, or a server event without a matching event ID. See duplicate purchases.
- Purchase value in an unexpected currency. Travellers can switch currency in the widget, and Bókun sends the selected one. See wrong or missing value.
- Events from Bókun but nothing from your site, or the other way round. See tags inside the booking frame.
Frequently asked questions
Does Bókun have a built-in Facebook (Meta) pixel integration?
Yes. Each booking channel has a Facebook Pixel tracking card in its tracking step. Toggle it on, paste your Pixel ID and save. Bókun then sends standard events from the widgets.
Which events does the Bókun pixel send?
Bókun's documentation lists ViewContent (product list, calendar or product page), AddToCart, InitiateCheckout and Purchase (when the receipt is viewed). Purchase includes the cart total as value, the selected currency, content IDs, contents and the number of items including extras.
Does Bókun support the Meta Conversions API?
Bókun's help center does not describe a Conversions API integration. Server-side events would need a separate setup, for example from Bókun booking webhooks, and Bókun does not document an event ID to deduplicate them against the pixel's Purchase.
Can the Bókun pixel and a GTM Meta tag run together?
Yes, as long as only one of them sends Purchase for a booking. Keep your site pixel for page views and let Bókun send the booking events, or turn off the Bókun card and send all Meta events from GTM.
Why does Pixel Helper not show Bókun events?
Pixel Helper is now Meta Ads Data Advisor. Check that the extension is updated, that ad blockers are off for the tab, and that the pixel card is on the booking channel your widget uses. Then use Test Events in Events Manager as a second check.