Track Bookings

From Beds24 Wiki
Jump to navigation Jump to search


This page explains how you can track bookings

Contents

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 originally opened the on-line booking page for the guest.

An example link to your booking page would be:

http://www.beds24.com/booking2.php?propid=13437&referer=Beds24

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 Google Analytics

To install Google Analytics go to SETTINGS -> BOOKING ENGINE -> DEVELOPER -> "Advanced HTML Settings" and enter your Google Analytics Tracking Script in the field "Insert In HTML HEAD". This will be installed in the head section of the booking page.

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


Page Tracking

The URL of each stage of the booking process contains a parameter page= which contains a code to identify which stage the booking page is at.


Conversion Tracking

When a booking completes, the booker is shown a confirmation page. It is possible to include scripts directly in the screen confirmation messages at SETTINGS -> BOOKING ENGINE -> BOOKING PAGE -> DEVELOPER -> "Advanced HTML Settings" -> "Confirmation Page Insert in HTML HEAD". This will be installed in the head section of the booking confirmation page. Template variables can be used in this script to include information about the booking which has just been made.

It is also possible to set a Booking Return URL to your own site. Guests will be sent to this page rather than the confirmation page after booking allowing you to create a custom confirmation landing page. Information about the booking will be added to the URL for your extraction and use. This setting can be found at SETTINGS -> BOOKING ENGINE -> BOOKING PAGE -> BEHAVIOUR. If you use this function, you will need to place any conversion tracking scripts on your landing page.


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 is usually to include the image pixel as an image <IMG> tag in your on screen booking confirmation message (SETTINGS->PROPERTIES->CONFIRMATION MESSAGES->PERIOD MESSAGES "Additional Screen Content").

The booking page is on the domain www.beds24.com so you may need to enable multiple domain settings in analytics.

4 Google Ecommerce Tracking

The exact scripts to be installed are supplied by your tracking service. Check their help pages for the latest version.


Conversion Tracking

To install the conversion tracking script which reports booking information go to SETTINGS -> BOOKING ENGINE -> DEVELOPERS "Advanced HTML Settings" and enter your Google Tracking Script in the field "Confirmation Page Insert in HTML HEAD". This will be installed in the head section of the booking confirmation page.

Template variables can be included in this script to include information about the booking which has just been made. 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'
});
ga('ecommerce:send');
<script>


The booking page is on the domain www.beds24.com so you may need to enable multiple domain settings in Google.