How to Use Google Analytics with the Booking Engine
Contents
- 1 Introduction
- 2 The hoteliga Booking Engine and Google Analytics
- 3 Having a Google Analytics Account
- 4 Connecting your Google Analytics Account with Your hoteliga Domain
- 5 Adding a View for the Booking Engine
- 6 Adding a Filter for the Booking Engine
- 7 Setting Goals for the Booking Engine
- 8 Linking Google Analytics with Google Adwords
Introduction
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic. It is the most widely used web analytics service on the internet.
Google Analytics is used to track the website activity of the users, such as session duration, pages per session, bounce rate etc. along with the information on the source of the traffic. It can be integrated with Google AdWords, with which users can review online campaigns by tracking landing page quality and conversions (goals).
More information on Google Analytics can be found at Wikipedia's page
See the introductory video here:
The full list of videos the official Google Analytics YouTube channel can be found here.
The hoteliga Booking Engine and Google Analytics
The hoteliga Booking Engine supports integration with Google Analytics. In this way, you can have your property's website traffic monitored and analyzed along with the special web page of the hoteliga Booking Engine, which usually is in the form:
https://book.hoteliga.com/yourdomain
In the instructions below it is explained how to have in parallel two different views of statistics in Google Analytics, one for your property's website and one for the hoteliga Booking Engine.
Having a Google Analytics Account
Having a Google Analytics account is free. If you don't have one, visit this page and click on the "Start for free" button. Then your will need to start the process with your Gmail account.
If you don't have a Gmail account, click on "Create account".
Connecting your Google Analytics Account with Your hoteliga Domain
If you just got your Google Analytics account or if you already have such an account, you need to locate and note the Google Analytics tracking code that you will need later on.
Sign in in your Google Analytics account, and:
- Click on the "cogs" icon on the bottom-left of the screen.
- Click on "Tracking Info" option under the "Property" column.
- Click on "Tracking Code".
On the next page, your tracking code or tracking ID will appear with big letters, in the format UA-XXXXXXXX-1 as shown below:
Note this tracking ID (or copy it after selecting it with your mouse) as you will need to enter it in the hoteliga Booking Engine settings.
This video also shows how to locate the Google Analytics tracking ID:
The next step is to login to your hoteliga account and navigate to the Booking Engine settings by using the top-right menu:
In the page that loads do the following:
- Make sure that the status of the booking engine is Inactive. If not, click on the switch do deactivate it.
- Click on "User Tracking".
In the following page:
- Type or paste the Google Analytics tracking ID, in the format UA-XXXXXXXX-1 as copied/noted earlier.
- Click on "Save".
This completes the first step to connect Google Analytics to the hoteliga Booking Engine. Read on for further configuration.
Adding a View for the Booking Engine
In order to have a dedicated view of the traffic from your hoteliga Booking Engine, you need to add a new view for it.
Login back to your Google Analytics account and:
- Click on the "cogs" icon on the bottom-left of the screen.
- Click on the "+ Create View" button on the top-right of the screen.
In the next page, do the following:
- In the "Reporting View Name" field, type hoteliga booking Engine.
- Click on the "Create View" button.
After the creation of the view, you will be automatically transferred to the new view, as seen in the top-left drop-down selector:
Adding a Filter for the Booking Engine
Under the new view created in the previous step named "hoteliga booking Engine" there is no data or traffic tracked yet. That is because the hoteliga Booking engine, although having the Google Analytics tracking ID registered in the previous step, is not linked to Google Analytics as a hostname, which is book.hoteliga.com.
To achieve this, a filter needs to be created under the "hoteliga booking Engine" view.
Follow the following steps:
- Click on the "cogs" icon on the bottom-left of the screen.
- Make sure you are under in the "hoteliga Booking Engine" view.
- In the "View" column, click on "Filters".
In the following page that loads click on the "Add Filter" button:
In the next page do the following:
- Type "hoteliga Booking Engine" in the field "Filter Name".
- Select "Custom" for the "Filter Type".
- Click on "Include".
- Set "Filter Field" to "Hostname".
- Type book\.hoteliga\.com in the field "Filter Pattern" (make sure that you really type the backslashes "\" exactly as specified).
- Click on "Save".
Setting Goals for the Booking Engine
Now that traffic and data from the booking engine (book.hoteliga.com) are recorded in Google Analytics, the next thing is to record real booking engine searches (not just visits) as well as the reservations made through the booking engine.
This is done through Goals in Google Analytics.
Two goals will be setup, one for the searches and one for the reservations made.
Booking Engine Searches Goal Setup
- Make sure your still under the "hoteliga Booking Engine" view.
- Click on "Goals".
- Click on the "New Goal" button.
Every such goal consists of 3 steps:
- Goal setup
- Goal description
- Goal details
In the "Goal setup" stage, you need to:
- Select "Custom".
- Click on "Continue".
In the "Goal description" stage, you need to:
- Type "Booking Engine Searches" in the field "Name".
- Select "Destination" for "Type".
- Click on "Continue".
In the "Goal details" stage, you need to:
- Select "Regular expression" in "Destination".
- Type /search/results in the "Destination" field.
- Click on "Save".
Booking Engine Searches Reservations Setup
After saving, you will be presented with the Goals table. Click on "New Goal" again.
Once again, in the "Goal setup" stage, you need to:
- Select "Custom".
- Click on "Continue".
In the "Goal description" stage, you need to:
- Type "Booking Engine Reservations" in the field "Name".
- Select "Destination" for "Type".
- Click on "Continue".
In the "Goal details" stage, you need to:
- Select "Regular expression" in "Destination".
- Type /reservation/completed in the "Destination" field.
- Click on "Save".
Goals Current View
After the aforementioned setup of the 2 goals is completed, the table with Goals should look like this:
The column "Past 7 day conversions" should be empty at the moment, but will be populated with numbers as the days go by, as shown in the picture above.
Linking Google Analytics with Google Adwords
Having Google Analytics and Google Adwords linked is very useful.
Watch this video for a quick explanation why:
Here are the steps to perform the linking.
- Login to your Google Analytics account.
- Click on the "cogs" icon in the bottom-left side of the screen.
- In the Property column, click Google Ads Linking.
- Click on the "+New Link Group" button.
- Select the Google Ads accounts you want to link, then click on the "Continue.
- Turn linking ON for each view in the property in which you want Google Ads data.
- Optionally, select Enable Google Display Network Impression Reporting to also include that data in each view.
- Click Link accounts.