Can I use Google Analytics with Online Booking?
Yes, just follow the steps below:
Classic Online Booking
- Login to the Online Booking Admin Area
- Go to Settings either in the menu bar at the top or from the quick navigation block at the bottom of the page:

- Scroll to the bottom of the page and add your Google Analytics tracking code:

- When you're done click on Save & Publish.
Both Universal Analytics codes (prefixed with "UA-") and Google Analytics 4 codes (prefixed with "G-") are supported in this field. Universal Analytics will stop processing data on 1st July 2023. If you need help with Analytics, you can access Analytics help here.
Online Booking 2.0
- In WriteUpp, go to Integrations & Add Ons → Online Booking → Configure:

- Scroll down the page to the Google Analytics Tracking field and enter your code:

- Press Update Settings
Tracking Online Booking 2.0 Page Views in Google Analytics (GA4)
Online Booking 2.0 uses a single-page application, which means page changes don’t always trigger standard page view events in Google Analytics by default. To ensure booking steps (including the completion page) are tracked correctly, you may need to update your GA4 settings.
Enable browser history page tracking
First, make sure Enhanced Measurement is correctly configured in GA4:
- Open Google Analytics (GA4).
- Go to Admin → Data Streams.
- Select your Web data stream.
- Under Enhanced measurement, click the settings icon.
- Ensure “Page changes based on browser history events” is enabled.

- Save your changes.
Once enabled, GA4 should start recording page views as users move through the Online Booking flow, even though the page doesn’t fully reload.
Tracking booking completion using a regular expression
If you want to track a specific step in the booking journey (such as successful booking completion), you can use a regular expression when creating a custom event or filter.
For example, if your booking completion URL follows this structure:
/booking/{unique-id}/complete
You can use the following regular expression:
^/booking/[\w\d]*/complete$
This matches:
- Any booking URL
- With a unique booking reference
- Ending specifically on the complete page
You can use this regex when:
- Creating a custom event
- Setting up event conditions
- Applying filters in GA4
This helps ensure only completed bookings are tracked, rather than every step of the booking journey.
Updated on: 22/12/2025
Thank you!
