What is Google Analytics?

Google Analytics is a free tool from Google. It allows you to add a small snippet of code to your website, to track who's visiting your site, which pages they're clicking on, and (most importantly) who decides to book!

How does it work with Inn Style?

Once you've setup a Google Analytics account, tell us your account number and we can help you track when your website visitors become guests.

Getting setup with conversion tracking

  1. Once you've got your Google Analytics account setup, you can add your 'UA Code' (it'll look a little like UA-123456789-1), and the URL of the website you'll be tracking
  2. You can add the code to your account by going to Account > Website Integration 
  3. You'll need to add the Inn Style integration to your website. Make sure you scroll down to section 2.1 about adding additional information to the integration. Your integration code should look something like this:

InnStyle('yourinnstylesubdomain',
   {
     ga: 'UA-123456789-1',
     policy: 'show'
   }
);
 


You should then be able to log into your Analytics account and see visitors arriving to your website and clicking through to Inn Style's booking process. 

The fiddly bit

It's all fine and dandy seeing traffic flowing through your site, but you really need to know how many people are checking availability or making a booking with you. 

To do this, you need to setup Conversion Tracking.

Setting up booking Conversion Tracking in Google Analytics

  • Open your Google Analytics account, click Admin, and then select Goals 
  • Click New Goal
  • For Step 1, use a Custom setup
  • In Step 2, give the goal a recognisable name (I've called it Reservation > Confirmation). We'll setup the stages of the booking process to track in Stage 3
  • Now for the important bit. In Destination, you need to select Regular Expression and paste the following: /reservations/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/confirmation (Don't edit anything here!) This tracks the final page of the process — which is when the guest receives confirmation that they've completed the booking process
  • Leave Value Off and switch Funnel On. Switching Funnel On is optional, but it does help us measure which stage potential guests get to when checking availability and booking

If you're going to use the Funnel:

  • In Step 1 — Add the name Availability Checked and the screen/page of /availabilities  — This page is viewed when a potential guest has checked your availability
  • Add the next step, name it Reservation Built, and add the screen/page of /reservations/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}  — This page is viewed when a potential guest has added a room/cottage/tent to a reservation
  • Finally, add a step called Confirmation and the screen/page of /reservations/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/confirmation  — This is the final step (when the guest has completed the booking process)

Congratulations! 

Now you can track where the booker came from (like Search, Facebook, Email, Twitter, Direct) – and their journey through your website and booking process!

Did this answer your question?