Analytics
Google Analytics
Enable Reservation Analytics - Check this box to record information to Google Analytics. (You must have a Google Analytics Account)
Google Analytics Tracking ID - Enter your Google Analytics Tracking ID. Contact Google directly to setup your account, as InnQuest Software is not responsible for the setup or support of this product.
For detail information about Cross Domain Tracking - Click here.
Script Embeds
This section allows you to customized the rendered pages by adding additional JavaScript function and procedures. These can be used to work with any Analytic service or further define functions used during the booking process.
Due to the nature of the analytic functionality required:
- All of the supplied data will be scripts.
- Some of the scripts can reference vendor scripts from external domains and servers InnQuest Software do not control.
A solution where InnQuest validates all parameters before inclusion or utilize context-sensitive escaping is not suitable for our purposes, since most of the third-party scripts will invoke vendor specific scripts directly from their servers and execute them as part the html page in the user's browser.
You must tell your Analytic company the URL/Source of the request. It is not your website URL and it is not the booking engine URL. It is different.
Our current solution is to sand-box the user-supplied scripts in a specially constructed iFrame so that they can be run but the user's browser would block any attempt of the scripts to access the cardholder's data during the Guest Information step. To achieve this solution we will serve the analytic scripts from a different sub-domain, exclusively set up for serving the analytic scripts. All modern browsers prevent scripts loaded from a different domain to access the html elements or JavaScript variables served from the original domain, thus providing protection against any potentially malicious analytic script trying to access and relay credit card information. At the same time, the scripts served from the different sub-domain will have suitable access to cookies saved exclusively for that sub-domain and thus will be able to track the user across the session starting with Landing, then Search and finally Conversion.
There are three places that these embeds can be added:
- Home Page/Landing
- Search/Check Availability
- Conversion/Completion
Depending on the level of information available at that point, Merge Fields are available to be inserted into the screen.
Variables for Search/Check Availability
CheckIn_MDY | The CheckIn date in MM/DD/YYYY format |
CheckIn | The CheckIn date in ISO (YYYY-MM-DD) format |
CheckIn_DMY | The CheckIn date in DD/MM/YYYY format |
CheckIn_YMD | The CheckIn date in YYYY/MM/DD format |
CheckOut_MDY | The CheckOut date in MM/DD/YYYY format |
CheckOut | The CheckOut date in ISO (YYYY-MM-DD) format |
CheckOut_DMY | The CheckOut date in DD/MM/YYYY format |
CheckOut_YMD | The CheckOut date in YYYY/MM/DD format |
Adults | Total of adults for reservation |
Children | Total of children for reservation |
People | Total of adults + children for reservation |
Nights | Total nights for reservation |
Rooms | Total rooms for reservation |
Additional variables for Conversion/Completion
ConfirmationNumber | The final confirmation number |
RoomType | Booked Room Type |
Rate Type | Booked Rate Type |
Room Total | Total value of the Room |
Taxes | Total value of the Taxes |
AddOns | Total value of the AddOns |
GrandTotal | Total value of Room + Taxes + AddOns |
State | State of the Guest |
Country | Country of the Guest |
Email of the Guest | |
PromoCode | Promo Code |
IsMobile | Is Mobile Device (True or False) |
Quick Example:
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['addEcommerceItem',
"%RoomType%",
["%Rooms%", "%RateType%", "%PromoCode%"],
%RoomTotal%,
%Rooms%
]);
</script>