Changes

Jump to navigation Jump to search

Track Bookings

745 bytes added, 10:39, 23 November 2022
[[Category:Developers]]
[[Category:Booking_Page]]
[[Category:Google]]
<div class="heading">Tracking</div>
This page explains how you can track bookings.
''This page explains how you can track bookings''__TOC__= Referrer =
<span style== Referer ==All bookings contain a "color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> The English word '''referrer field which ''' is a reference to spelled with two '''r'''s. However, the link which originally opened parameter's name in the on-line [[:category:Booking Page|booking page]] for the guestURL is spelled '''referer''' with only one '''r'''.
An example All bookings contain a referrer field (under the tab "Details"). The content of this field is set in the link to your which opens the on-line [[:category:Booking Page|booking page could be in this format ]] for the guest.
httpAn example link to your booking page would be://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 bookinghttp://beds24.com/booking2. You may set the text for the php?propid=13437&referer= text to different values for different links and track which links are generating your bookings. Beds24
All our availability calendars and booking widgets can contain When a referer= guest clicks this link, the text either "Beds24" will be recorded as a hidden parameter or in the URL depending on the widgetreferrer of any resulting booking. You also have may set the option text ("referer=text") to add different values for different links and track which links are generating your custom referrer. Please see the widgets help pages for instructionsbookings.
All our availability calendars and booking widgets can contain the parameter "referer== Logs ==To see text", either as a hidden parameter, or in the URL, depending on the widget. You can set the booking logs go to REPORTS-> BOOKING LOGSreferrer for a widget here:
== Google Analytics ==To install {{#fas:cog}} (SETTINGS) Google Analytics go to SETTINGS -> BOOKING ENGINE -> DEVELOPER -> "Advanced HTML Settings" and enter your Google Analytics Tracking Script in the field BOOKING WIDGETS "Insert In HTML HEADReferrer". This will be installed in the head section of the booking page.
Your booking page will now appear in You also have the option to add your Google Analytics Reportcustom referrer. Please see the [https://wiki.beds24.com/index.php/Category:Widgets#Parameters widgets help pages] for instructions.
= Logs =
To see the booking logs go to REPORTS > BOOKING LOGS
==Tracking Pixel==
'''Page Tracking'''image pixels need to be included in the <body> part of the page so they are visible. Usually, the easiest way to do this is to include the image pixel as an image tag (<IMG>) in your "on screen" booking confirmation message:
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.{{#fas:cog}} (SETTINGS) > GUEST MANAGEMENT > CONFIRMATION MESSAGES > PERIOD MESSAGES Additional Screen Content for "Normal" Bookings
=Page Tracking (e.g. Google Analytics)=
'''Page Tracking''' is usually done by inserting a script into the head of every page that a user passes on her way to check-out. You can insert your tracking script (for example a Google Analytics script) here:
'''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 -> DEVELOPERS "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 included 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 {{#fas:cog}} (SETTINGS -> ) BOOKING ENGINE -> MULTI BOOKING PAGE -> BEHAVIOUR.If you use this function, you will need to place any conversion tracking scripts on your landing page.DEVELOPER > Advanced HTML Settings > Insert in HTML <HEAD>
Example of a Google Analytics tracking script:
'''Tracking Pixel'''[[image:Googletagscript.png|700px|link=]][[Media:Googletagscript.png|view large]]
Tracking image pixels If you need to be included in insert a script into the <body> part of the a page , you can do 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").under
The booking page is on the domain www.beds24.com so you may need to enable multiple domain settings in analytics.{{#fas:cog}} (SETTINGS) BOOKING ENGINE > MULTI BOOKING PAGE > LAYOUT > PROPERTY HEADER AND FOOTER > PAGE TOP > MANAGE > More Details Link Text
== Conversion Tracking (e.g. Google Ecommerce Tracking =)= The exact scripts '''Conversion''' refers to be installed are supplied by your tracking servicethe final step of a sales operation - when a user is '''converted''' into a paying customer. Check their help pages Conversion Tracking scripts (for example a Google Ecommerce Script), therefore, are only inserted into the latest versionhead of the last page of a process, in this case the confirmation page.Insert your scripts here:
{{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > DEVELOPER "Confirmation Page Insert in HTML <HEAD>
'''Conversion Tracking'''=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:
To install the conversion tracking script which reports booking information go to {{#fas:cog}} (SETTINGS -) BOOKING ENGINE > BOOKING ENGINE -PAGE > DEVELOPERS BEHAVIOUR "Advanced HTML SettingsRedirect after Booking" and enter your Google Tracking Script in the field "Confirmation Page Insert in HTML HEADBooking Return URL". This will be installed in the head section of the booking confirmation page.
Template variables can be included in If you use this script function, you will need to include information about the booking which has just been made. The following example includes the booking number [BOOKID] and price [PRICE] in the scriptplace any conversion tracking scripts on your landing page.
==Using template variables in scripts==
You can use [https://wiki.beds24.com/index.php?title=Template_Variables Template variables] in your tracking scripts to include information about the booking. The following example includes the booking number [BOOKID] and price [PRICE] in a Google Ecommerce script.
<script type='text/javascript'>
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span>This script is just an example; it probably won't work as is. Please get a working script from your tracking service. == Google Tracking ==The exact scripts to be installed are supplied by Google. Check their help pages for the latest version. <span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> The booking page is on the domain www.beds24.com so you . You may need to enable multiple domain settings in your Googleadmin console.

Navigation menu