Copy and paste the Bookassist tracking code to all website pages just before closing tag.
Add the hotel name, hotel id and guide id to the areas required.
<!-- www.bookassist.com web stats -->
<script>
var BA = BA || {};
BA.account = "Hotel name"; // hotel Name
BA.hotel_id = "XXXX"; // bookassist_hotel_id_number_for_hotel
BA.hotel_group_id = "";
BA.guide_id = "XXXX"; // bookassist_guide_id_number_for_hotel
(function() {
var ba = document.createElement('script');
ba.type = 'text/javascript'; ba.async = true;
ba.src = '//dwxf316kii2pu.cloudfront.net/scripts/BA/rt-min.jsp';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ba, s);
})();
</script>
<!-- End www.bookassist.com web stats -->
Copy and paste the Google Analytics code to all website pages before the closing tag.
Replacing “UA-XXXXX-X” with your Google Analytics tracking ID.
If you don’t have a Google Analytics account let us know and we can create one for you.
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-X"> </script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXX-X');
</script>
<!-- END Google Analytics -->
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters.
You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=c_1&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=c_1&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en">
</script>
<input name=”date_in” … />
<input name=”date_out” … />
http://www.hoteldomain.com/booking.html?date_in=2012-02-20&date_out=2012-02-21
var language = 'en' // LANGUAGE
var booking_page = 'booking.html'; // BOOKING PAGE WITH BOOKING IFRAME INSERTED
Copy and paste the Bookassist tracking code to all website pages just before closing tag.
Add the hotel name, hotel id and guide id to the areas required.
<!-- <!-- www.bookassist.com web stats -->
<script>
var BA = BA || {};
BA.account = "Hotel name"; // hotel Name
BA.hotel_id = ""; // bookassist_hotel_id_number_for_hotel
BA.hotel_group_id = "XXXX";
BA.guide_id = "XXXX"; // bookassist_guide_id_number_for_hotel
(function() {
var ba = document.createElement('script');
ba.type = 'text/javascript'; ba.async = true;
ba.src = '//dwxf316kii2pu.cloudfront.net/scripts/BA/rt-min.jsp';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ba, s);
})();
</script>
<!-- End www.bookassist.com web stats -->
Copy and paste the Google Analytics code to all website pages before the closing tag.
Replacing “UA-XXXXX-X” with your Google Analytics tracking ID.
If you don’t have a Google Analytics account let us know and we can create one for you.
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX-X"> </script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-XXXXX-X');
</script>
<!-- END Google Analytics -->
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters. You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.beUrl= 'https://www.bookassist.com';
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=results&cgs=XXXX&service_model=6&ca=center&dw=900&user_language=en';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=results&cgs=XXXX&service_model=6&ca=center&dw=900&user_language=en">
</script>
<input name=”date_in” … />
<input name=”date_out” … />
http://www.hoteldomain.com/booking.html?date_in=2012-02-20&date_out=2012-02-21
var language = 'en' // LANGUAGE
var booking_page = 'booking.html'; // BOOKING PAGE WITH BOOKING IFRAME INSERTED
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters.
You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=specials&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en&tabs=no';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=specials&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en&tabs=no">
</script>
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters.
You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=c_grid&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en&tabs=no';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=c_grid&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en&tabs=no">
</script>
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters.
You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=reviews&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en&tabs=no';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=reviews&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en&tabs=no">
</script> C
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters.
You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=clogin&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=clogin&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en">
</script>
Copy and paste the Bookassist iframe to the page where you want the engine to appear, but do not specify the “src” attribute. It should have the attribute ID set to “booking_frame” (i.e. id=”booking_frame”).
Below the iframe you will see the JavaScript, please add this Javascript at the bottom of the page, before the Bookassist tracking code.
Note that the line paramsForBA needs to be set according to hotel with correct parameters.
You must add the hotel id, guide id and domain name for the areas required.
You can edit the user language by using the two character ISO language code.
<iframe src="" id="booking_frame" width="100%" height="3500" scrolling="auto" frameborder="0"></iframe>
<script>
var BA = BA || {};
BA.destinationURL='https://www.bookassist.com/conduit/bookassist.do';
BA.paramsForBA='action=vouchers&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en';
</script>
<script type="text/javascript" src="https://js.bookassist.com/scripts/BA/be.2-min.jsp?action=vouchers&guide_id=XXXX&hotel_id=XXXX&service_model=2&ca=center&dw=900&user_language=en">
</script>
We set this up automatically if you grant us admin access to the account but if you can’t grant access here’s how to set it up.
How to setup Google Analytics E-commerce for the Bookassist booking engine.
E-commerce setup:
Please copy the example image when setting up your Google Analytics e-commerce tracking account.
Goal Setup:
Mobile Goal Setup:
Referral exclusion:
Add the hotels domain to the referral exclusion list.
Access:
Please grant full admin access to the account under the account profile using baclients@bookassist.com.
Bookassist needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Privacy Policy.
Automatic Netware Ltd trading as Bookassist® is a limited company registered in Ireland no. 312796. Registered office: Suite 3, One Earlsfort Centre, Lower Hatch Street, Dublin 2, Ireland. Group subsidiaries registered in Spain, Italy, Austria, Czech Republic, Germany. Content ©1999-2024 Bookassist. All rights reserved. Bookassist® is a registered trademark.