Changes

Jump to navigation Jump to search

Track Bookings

920 bytes removed, 09:43, 10 March 2020
== 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.
770

edits

Navigation menu