How to Use Google Analytics with the Booking Engine

From hoteliga
Jump to: navigation, search


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:

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:

  1. Click on the "cogs" icon on the bottom-left of the screen.
  2. Click on "Tracking Info" option under the "Property" column.
  3. 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:

  1. Make sure that the status of the booking engine is Inactive. If not, click on the switch do deactivate it.
  2. Click on "User Tracking".


In the following page:

  1. Type or paste the Google Analytics tracking ID, in the format UA-XXXXXXXX-1 as copied/noted earlier.
  2. 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:

  1. Click on the "cogs" icon on the bottom-left of the screen.
  2. Click on the "+ Create View" button on the top-right of the screen.


In the next page, do the following:

  1. In the "Reporting View Name" field, type hoteliga booking Engine.
  2. 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

To achieve this, a filter needs to be created under the "hoteliga booking Engine" view.

Follow the following steps:

  1. Click on the "cogs" icon on the bottom-left of the screen.
  2. Make sure you are under in the "hoteliga Booking Engine" view.
  3. 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:

  1. Type "hoteliga Booking Engine" in the field "Filter Name".
  2. Select "Custom" for the "Filter Type".
  3. Click on "Include".
  4. Set "Filter Field" to "Hostname".
  5. Type book\.hoteliga\.com in the field "Filter Pattern" (make sure that you really type the backslashes "\" exactly as specified).
  6. Click on "Save".


Setting Goals for the Booking Engine

Now that traffic and data from the booking engine ( 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

  1. Make sure your still under the "hoteliga Booking Engine" view.
  2. Click on "Goals".
  3. 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:

  1. Select "Custom".
  2. Click on "Continue".


In the "Goal description" stage, you need to:

  1. Type "Booking Engine Searches" in the field "Name".
  2. Select "Destination" for "Type".
  3. Click on "Continue".


In the "Goal details" stage, you need to:

  1. Select "Regular expression" in "Destination".
  2. Type /search/results in the "Destination" field.
  3. 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:

  1. Select "Custom".
  2. Click on "Continue".


In the "Goal description" stage, you need to:

  1. Type "Booking Engine Reservations" in the field "Name".
  2. Select "Destination" for "Type".
  3. Click on "Continue".


In the "Goal details" stage, you need to:

  1. Select "Regular expression" in "Destination".
  2. Type /reservation/completed in the "Destination" field.
  3. 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.

  1. Login to your Google Analytics account.
  2. Click on the "cogs" icon in the bottom-left side of the screen.
  3. In the Property column, click Google Ads Linking.
  4. Click on the "+New Link Group" button.
  5. Select the Google Ads accounts you want to link, then click on the "Continue.
  6. Turn linking ON for each view in the property in which you want Google Ads data.
  7. Optionally, select Enable Google Display Network Impression Reporting to also include that data in each view.
  8. Click Link accounts.