Adding tracking tags to your YesBookit checkout pages

Adding Google Analytics (GA) tags to your YesBookit-hosted checkout pages is easy, and is all handled on the Customise Booking Form page in YesBookit. 

Before we get started, one quick comment: The full set-up of e-commerce tags and our recommended method using Google Tag Manager can take some time and some work, and you may want to engage some help from a developer or web agency, but it is well worth the effort.

To get to the page in YesBookit where you add your tags, visit Bookings > Customise Guest Form when logged in. 

You’ll see the page below, and you need to expand the ‘Analytics & Tracking’ section.

In this section, you’re able to add three types of tags:

  1. Google Analytics & Google Tag – track the visitors to your checkout pages, set up goals and track conversions. When properly linked to your website, you’ll be able to track a visitor from the originating referring source all the way through to a confirmed booking. We strongly recommend using the Google Tag Manager method of implementing your GA tags, more on that below.

  2. Facebook tracking – add the Facebook pixel to be able to target visitors to your YesBookit pages with Facebook ads in the future.

  3. Other tracking codes – in this area you can paste other tracking codes such as Adwords, Spotlight, retargeting or more to link your YesBookit checkout pages to campaigns that you may be running. Please note that not everything may be supported here. You can always check with us if you are getting unexpected results.

Simply paste the codes into the appropriate area and click ‘Save’. The tags will then be added immediately to your YesBookit checkout pages.

Google Analytics – standard tracking 

This is the most basic method of adding tracking to your YesBookit checkout pages, but it is not our recommended method. We recommend using the Google Tag Manager method instead.

If you do use the standard method, however, once you’ve added your UA-XXXXXXX-X tracking ID on the form above data will begin flowing into your Google Analytics profile; but please note that there might be a delay of a few hours for this information to flow through.

For full support information on Google Analytics, visit the Google Analytics help centre.

Google Tag Manager tracking

A second method of tracking is using Google’s Tag Manager (GTM). With a GTM account, you can add tracking in the GTM interface, and it will then be injected into wherever you’ve added a GTM ‘container’.

This is our recommended method, and is superior to the standard method above. It is also the only method that supports eCommerce.

If you use the form in YesBookit to add your GTM tracking ID, then a container will be added to the YesBookit checkout pages, so any additional tags you add in GTM will be added without you having to change anything further in YesBookit.

This means that you can have greater control, and more options, with all changes happening in a central location.

For full support information on Google Tag Manager, visit the Google Tag Manager help centre.

Google Analytics – e-commerce tracking

GA is also a powerful tool for measuring the effectiveness of your advertising or email campaigns, by linking bookings and revenue to the originating traffic source. When you use Google Tag Manager, your e-commerce tags are simply a type of GTM tag, added to the container.

To use e-commerce with YesBookit, there are three keys steps:

1. On your website, you need to have ‘cross-domain tracking’ set up. This is required so that you can track a user from your website’s domain across to YesBookit, while maintaining a view of their full session. To set up cross domain tracking, the easiest way is to do it using Google Tag Manager, and follow the “Auto Link Domains” instructions on this help page.  

You’ll have to link your website domain and your YesBookit domain like the screenshot below. Replace with your website URL and AGENTID with your YesBookit Agent ID. 

2. Also in GTM, in the e-commerce area, you need to create a trigger to fire the e-commerce tags when a booking is made. To do this, create an event called bookingComplete and set it up like this:

3. Finally, you need to check that you have enabled e-commerce tracking in your GA profile by visiting Admin > e-commerce settings. If you don’t have e-commerce tracking enabled, you’ll see this in GA if you try to view an e-commerce report:

With cross-domain tracking and e-commerce enabled, transactions made in YesBookit will flow through to GA.

For full support information on e-commerce tracking, visit the e-commerce help centre.

If you need any help setting up goals or e-commerce tracking in your Google Analytics and Google Tag Manager profiles, please contact your SEO person or email us at for help.

Did this answer your question?