Changes

Jump to navigation Jump to search

Track Bookings

363 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== Referrer ==  Please note"color: #f3e504; font-size: 250%;" >{{#fas: lightbulb}} </span> The English word '''referrer''' is spelled with two '''r'''s. 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 [[:category:Booking Page|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 {{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING WIDGETS "Referrer"
You also have the option to add your custom 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 the parameter {{#fas:cog}} (SETTINGS) > GUEST MANAGEMENT > CONFIRMATION MESSAGES > PERIOD MESSAGES Additional Screen Content for "page=textNormal" where '''text''' can be used to identify which stage the booking page is at.Bookings
==Conversion Page Tracking=(e.g. Google Analytics)=When '''Page Tracking''' is usually done by inserting a booking completes, script into the booker is shown head of every page that a confirmation pageuser passes on her way to check-out. It is possible to include scripts directly in the screen confirmation messages atYou can insert your tracking script (for example a Google Analytics script) here:
Settings > Booking Engine > Developer > Advanced HTML Settings > Confirmation Page Insert in HTML <HEAD>
The script will be installed in the head section of the booking confirmation page. [https://wiki.beds24.com/index.php?title=Template_Variables Template variables] can be used in this script to include information about the booking.
===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{{#fas:cog}} (SETTINGS) BOOKING ENGINE > MULTI BOOKING PAGE > DEVELOPER > Advanced HTML Settings > Insert in HTML <HEAD>
Settings > Booking Engine > Booking Page > Behaviour > Redirect after Booking > Booking Return URLExample of a Google Analytics tracking script:
If you use this function, you will need to place any conversion tracking scripts on your landing page[[image:Googletagscript.png|700px|link=]][[Media:Googletagscript.png|view large]]
==Tracking Pixel==If you need to insert a script into the body of a page, you can do so under
Tracking image pixels need to be included in the <body{{#fas:cog}} (SETTINGS) BOOKING ENGINE > part of the page so they are visible.The easiest way to do this is usually to include the image pixel as an image <IMGMULTI BOOKING PAGE > tag in your on screen booking confirmation message (SETTINGS-LAYOUT > PROPERTY HEADER AND FOOTER >PROPERTIES-PAGE TOP >CONFIRMATION MESSAGES-MANAGE >PERIOD MESSAGES "Additional Screen Content").More Details Link Text
The booking page is on the domain www=Conversion Tracking (e.beds24g.com so you may need Google Ecommerce)='''Conversion''' refers to enable multiple domain settings the final step of a sales operation - when a user is '''converted''' into a paying customer. Conversion Tracking scripts (for example a Google Ecommerce Script), therefore, are only inserted into the head of the last page of a process, in analyticsthis case the confirmation page.Insert your scripts here:
== Google Analytics ==To install Google Analytics enter your Tracking Script here{{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > DEVELOPER "Confirmation Page Insert in HTML <HEAD>
SETTINGS > BOOKING ENGINE > DEVELOPER > Advanced HTML Settings > Insert in HTML <HEAD>=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:
Your booking page will now appear in your Google Analytics Report{{#fas:cog}} (SETTINGS) BOOKING ENGINE > BOOKING PAGE > BEHAVIOUR "Redirect after Booking" "Booking Return URL".
== Google Ecommerce Tracking == The exact scripts If you use this function, you will need to be installed are supplied by your tracking service. Check their help pages for the latest version.  '''Conversion Tracking''' To install the place any conversion tracking script which reports booking information go to SETTINGS -> BOOKING ENGINE -> DEVELOPERS "Advanced HTML Settings" and enter scripts on 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 landing 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.
==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