💡 Please ensure that you have integrated your Google Analytics 4 measurement ID on your public booking page.
This article covers:
Creating a Google Analytics 4 Custom Event
To create a Google Analytics 4 custom event:
Log in to your Google Analytics account and go to the admin settings page (select the cog at the bottom left of the navigation).
Ensure that you are in the right property and select Events under the Data display column:
Select Create event:
Then Create:
You will then need to do the following within the configuration window:
Under Custom event name, name this "bookwhen_checkout"
Within Matching conditions, the first condition needs to be the following:
Under the Parameter field, add "event_name"
Under the Operator field, select "equals"
Under the Value field, add "page_view"
Select Add condition.
Within the second condition, please add the following:
Under the Parameter field, add "page_location"
Under the Operator field, select "ends with"
Under the Value field, add "/summary"
Select the Save button.
The next step after this is to set your event as a key event (formerly conversion).
Setting a Google Analytics 4 Custom Key Event
After you have created your custom event, you will need to set this as a key event. It is important that you use the same naming convention you used for your custom event.
To do this:
Go back to your admin settings page (the cog in the bottom left of the navigation)
Select Key events under the Data display column (using the same property where you created your event):
Select New key event:
In the New event name field, use the same name used when setting up your event and then Save. In this example, it should be "bookwhen_checkout":
Ensure that the toggle for "Mark as conversion" is switched on:
It will then take Google up to 24 hours for this to start appearing in your reports.
💡 Learn more in the Google Help Center about Events and Key Events (formerly Conversions).
Analysing your Key Events
Once your events and key events are set up and tracked, you can start analysing where your bookings are coming from.
Go to Reports:
In GA4, navigate to the Reports section, then select Acquisition > Traffic acquisition.
If you can't find this, please check the relevant Google help article.
View Source/Medium:
This report will display the source and medium (e.g., Google/organic, Direct/none) of your website visitors. You’ll be able to see how many visitors triggered the “Booking Confirmed” key event.
You can also customise your reports to filter for specific key events.
GA4 and iFrames on Bookwhen
If your booking page is embedded in an iframe, please note that Google Analytics 4 (GA4) may not track events accurately due to potential issues with cookie consent and third-party cookies within iframes. This could lead to incomplete conversion tracking or multiple consent prompts being shown to users.
Because of these limitations, we (Bookwhen) do not include Google Analytics in iframes, meaning conversions might not be tracked correctly.
💬 Any questions or feedback? There are two ways to get in touch:
For a quicker response, please contact us via live chat on our homepage or your account.
Or send us an email
Thank you! 🕺