Tracking Completed Bookings

We currently use SimplyBook for our online bookings through our website.

We are running advertising campaigns through ChatGPT Ads Manager and would like to accurately track completed bookings generated by these campaigns.

Our website has a tracking pixel installed, but we’ve discovered that it currently records a conversion when someone simply clicks through to our booking page, rather than when they complete a booking.

As the booking confirmation appears on the same URL as the initial booking page, we are unable to distinguish completed bookings through URL tracking alone.

Could you please advise whether SimplyBook supports tracking completed bookings through a purchase or booking confirmation event that can be passed to a third party advertising pixel?

I understand SimplyBook supports Google Tag Manager and purchase events, so I’d be grateful if you could advise on the simplest way to achieve this with our existing setup.

Many thanks for your help.

Hi Tish,

Thank you for the clear description.

Why the URL doesn’t help

The booking page is a single-page app. When a client moves between steps, only the part after the “#” in the address changes (for example #book/… becomes #client/bookings/ids/…). Most ad pixels ignore that part. If the booking widget is embedded on your own website, the address of your page doesn’t change at all. So URL-based tracking can’t tell a visit apart from a completed booking.

There are two ways to track real completed bookings. Which one fits depends on how clients reach the booking page.

Option 1: the booking widget is embedded on your website (recommended in this case)

When a booking is completed, the widget sends a “bookingDone” message to your page. For paid bookings, it’s sent once the payment succeeds, not when the client reaches the payment screen. Add a small listener on the page with the widget and fire your ChatGPT Ads conversion from it:

A few notes:

  • The flag makes sure the conversion is counted only once per page visit. For paid bookings, the message can arrive twice.
  • If your booking page uses your own domain, adjust the domain check to match it.
  • The same message is also sent when a client reschedules an existing booking or joins a waiting list. If you use those features, a small number of extra conversions is possible.

This option fires the pixel on your own website, so ChatGPT Ads can match the conversion to the ad click.

Option 2: clients go to your booking page by a direct link

  1. Enable the Google Tag Manager custom feature and enter your GTM container ID. Your container will then load on the booking page.
  2. Also enable the Google Analytics custom feature (GA4 measurement ID). With it on, the booking page pushes standard e-commerce events to the dataLayer:
    • purchase: a booking is completed without online payment (includes transaction_id and the booked services)
    • begin_checkout, then purchase: a booking requires online payment; purchase is sent once the payment is successful (includes value and currency)
    • paymentAccepted: an additional custom event when an online payment succeeds
  3. In GTM, add your ChatGPT Ads pixel as a tag and use a Custom Event trigger with the event name “purchase”.

If you can’t use the GA feature, a History Change trigger also works. Set it to fire when the new history fragment contains “client/bookings/ids” and doesn’t contain “reschedule”. That is the confirmation screen.

Please check it in GTM Preview mode with a test booking before going live.

Keep in mind:

  • Tracking scripts on the booking page run only after the visitor accepts cookies.
  • If the Approve Booking feature is on, unpaid bookings that are waiting for approval don’t send “purchase”.
  • When the widget is embedded on your site, GTM runs inside the widget’s frame, on the SimplyBook.me domain. A pixel fired there may not be matched to the ad click on your site, so use Option 1 for that setup.

If you tell me whether your clients book through the embedded widget or a direct link, I can help you with the exact setup.

Best regards,
Vitalii
SimplyBook.me Team