Attribution data shows you where a booking came from, such as an email campaign, a paid ad, or a referral link. Bookem attaches this data to the booking automatically, with no setup required to start capturing it. There are two ways to get it from of Bookem: webhooks and the API.
When a client clicks a tracked link and makes a booking on your public booking page, Bookem automatically attaches the source of each booking to the booking object, just like client and booking details.
Attribution data includes:
Note: Attribution data isn't visible in the Bookem interface, and it isn't included in CSV exports. To view or use it, you need to retrieve it through a webhook or the API.
Bookem gives you two separate ways to get attribution data out of the system.
These work independently. You can use one, the other, or both together. The sections below cover each one on its own.
When you set up a webhook for a booking-related event, such as booking.created, attribution data is included in the payload by default. This is the better option if you want attribution data to arrive automatically and continuously, without checking for it manually.
Follow these steps:
Attribution fields arrive as part of the booking data in the payload each time the webhook fires. For full setup details, including how to test a webhook and connect it to automation platforms, go to Using Webhooks in Bookem.
The API lets you request a booking's attribution data directly, using the booking's ID. This is useful if you only need to check a source occasionally.
To use the API, you need an API key. This is a separate credential from your webhook setup, and it must be created and attached to your request separately.
Follow these steps:
If you want attribution data to arrive automatically rather than being fetched one booking at a time, set up a webhook and/or use the two methods together; use the webhook for immediate booking ID; use the API to recheck attribution later.
Attribution data only works if the links you share carry tracking information. Bookem doesn't add this for you.
Without this step, bookings will still come through, but there will be no source data to attach to them.