Track Bookings

From Beds24 Wiki
Jump to navigation Jump to search

This page explains how you can track bookings

1 Referrer

Please note: The English word referrer is spelled with two rs. However, the parameter's name in the URL is spelled referer with only one r.

All bookings contain a referrer field (under the tab "Details"). The content of this field is set in the link which opens the on-line booking page for the guest.

An example link to your booking page would be:

When a guest clicks this link, the text "Beds24" will be recorded as the referrer of any resulting booking. You may set the text ("referer=text") to different values for different links and track which links are generating your bookings.

All our availability calendars and booking widgets can contain the parameter "referer=text", either as a hidden parameter, or in the URL, depending on the widget. You can set the referrer for a widget here:

Settings > Booking Engine > Booking Widgets > Referrer

You also have the option to add your custom referrer. Please see the widgets help pages for instructions.

2 Logs

To see the booking logs go to REPORTS > BOOKING LOGS

3 Page Tracking

The URL of each stage of the booking process contains the parameter "page=text" where text can be used to identify which stage the booking page is at.

4 Conversion Tracking

When a booking completes, the booker is shown a confirmation page. It is possible to include scripts directly in the head section of this confirmation page. You do this here:

Settings > Booking Engine > Developer > Advanced HTML Settings > Confirmation Page Insert in HTML <HEAD>

Template variables can be used in this script to include information about the booking. The following example includes the booking number [BOOKID] and price [PRICE] in the script.

<script type='text/javascript'>
ga('require', 'ecommerce');
ga('ecommerce:addTransaction', {
 'id': '[BOOKID]',
 'affiliation': 'BEDS24',
 'revenue': '[PRICE]'
ga('ecommerce:addItem', {
 'id': '[BOOKID]',            
 'name': 'Lodging',
 'category': 'Accomodation',  
 'price': '[PRICE]',
 'quantity': '1'

4.1 Custom booking confirmation page

It is also possible to set a Booking Return URL leading to your own website. Guests will be sent to this page rather than the standard confirmation page allowing you to create a custom confirmation landing page. Information about the booking will be added to the URL for your extraction and use. You can set the URL to your own website here:

Settings > Booking Engine > Booking Page > Behaviour > Redirect after Booking > Booking Return URL

If you use this function, you will need to place any conversion tracking scripts on your landing page.

5 Tracking Pixel

Tracking image pixels need to be included in the <body> part of the page so they are visible. The easiest way to do this usually is to include the image pixel as an image tag (<IMG>) in your "on screen" booking confirmation message:

Settings > Guest Management > Confirmation Messages > Period Messages > Additional Screen Content for "Normal" Bookings

6 Google Analytics

To install Google Analytics enter your Tracking Script here:


Your booking page will now appear in your Google Analytics Report.

7 Google Ecommerce Tracking

The exact scripts to be installed are supplied by your tracking service. Check their help pages for the latest version.
The booking page is on the domain so you may need to enable multiple domain settings in Google.