Google Analytics Setup for RezOvation Desktop

From RezOvation Wiki

Jump to: navigation, search

Contents

Set up and configure Google Analytics

  1. Create an account on Google Analytics if you do not have one. If you already have a Google or Gmail account, you just need to activate your Analytics account. Log in to Google or Gmail and visit Google Analytics to activate your account.
  2. Log into your Google Analytics account and click the Edit link next to the profile that you'd like to view.
    Image:GA-Account-1b.png
  3. Go to the Main Website Profile Information section and click the Check Status link.
    Image:GA-Code-2.png
  4. The tracking URL will be listed.
    Image:GA-Code-3.png
    Copy the _uacct portion of the URL, which is your Google Analytics ID and which we will be placing into the RezOvation Desktop Booking Engine. It looks like this:
    UA-2071596-1

Enabling your Analytics account for E-Commerce transactions

  1. Log in to your account.
  2. Click the Edit link next to the profile you'd like to enable.

    Image:GA-Account-1.png
  3. On the Profile Settings page, click edit next to Main Website Profile Information.

    Image:GA-Account-2.png
  4. Enter the default page (usually index.html).
  5. Change the E-Commerce Website radio button from No to Yes.

    Image:GA-Account-3.png

Setting Up Goal Tracking

Goal settings

  1. From main Profile Settings page, click the Edit link next to the first goal (G1).
    Image:RD-GA-Goal-1.png

  2. Enter the Goal URL, which is:
    https://www.rezovation.net/booking_guest/wfReservationResponse.aspx
  3. Name the goal, and select the "On" radio button to turn the goal on.
    Image:RD-GA-Goal-2.png

  4. Under the Additional Settings section, set Match Type to Head Match, and set the Goal Value to 1.
    Image:GA-Goal-3.png

  5. Click the Save Changes button to save your changes.

Goal funnel

If you'd like to track the Goal funnel, which allows you to see where in the process potential guests are "falling off" the booking process before the Goal is reached, please follow the directions below.

  1. Enter each URL in the funnel. The URLs are listed below. You can name the goal steps however you wish.

    URLName
    https://secure.rezovation.com/Reservations/CheckAvailability.aspxCheck Availability
    https://secure.rezovation.com/Reservations/BookStep1.aspxRoom Selection
    https://secure.rezovation.com/Reservations/BookStep2.aspxReservation Details
    https://secure.rezovation.com/Reservations/CompleteOrder.aspxPayment Info

  2. Check the box for Required step next to step 1. The result should look like this:
    Image:RD-GA-Goal-4.png

Configure RezOvation Desktop

  1. Log in to the BE Admin site, open the Properties menu on the left and select Booking Engine Settings, and click the Guest Tracker link.
    Image:RD-GA-BE-1.png
  2. Enter your Google Analytics ID in the box.
    Image:RD-GA-BE-2.png
  3. If you do not have access to the Booking Engine Admin site, please contact support and they will enter it for you.

Adding the Google Analytics code to your website

Add the following lines to your tracking code on your web site after the opening <body> tag on ALL pages of your website. Be sure to replace the _uacct= line with your actual Analytics account ID.

      <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
      </script>
      <script type="text/javascript">
        _uacct="UA-xxxx-x";
        _udn="none";
        _ulink=1;
        urchinTracker();
      </script>

Change the links from the main site to the secure site to use __utmLinker as follows. If your current links look like:

<a href="https://www.rezovation.net/booking_guest/wfStep1_OptionA.aspx?acct=7119&prop=7236">Book Now</a>

Change them to:

    <script type="text/javascript">
    document.write('<a href="javascript:__utmLinker(\'https://www.rezovation.net/booking_guest/wfStep1_OptionA.aspx?acct=7119&prop=7236\');">Book Now</a>');
    </script>
    <noscript>
    <a href="https://www.rezovation.net/booking_guest/wfStep1_OptionA.aspx?acct=7119&prop=7236">Book Now</a>
    </noscript>

The code above provides links for users with or without JavaScript enabled. It's important to note that apostrophes need to be escaped with a backslash where they appear in the link or link text.

Important: if your pages include a call to urchinTracker(), utmLinker(), utmSetTrans(), or utmLinkPost(), your Analytics tracking code must be placed in your HTML code ABOVE any of these calls. In these cases the tracking code can be placed anywhere between the opening <body> tag and the JavaScript call.

If you are using an image map to link a button, or other image to the online reservation URL, the code for the image map should look something like this:

<map name="Map">
<script type="text/javascript">
document.write('<area shape="rect" coords="61,285,200,318" href="javascript:__utmLinker(\'https://www.rezovation.net/booking_guest/wfStep1_OptionA.aspx?acct=7119&prop=7236\');" alt="Book Now">');
</script>
<noscript>
<area shape="rect" coords="61,285,200,318" href="https://www.rezovation.net/booking_guest/wfStep1_OptionA.aspx?acct=7119&prop=7236" alt="Book Now">
</noscript>
</map>

Google Adwords

To enable Google Adwords for RezOvation Desktop Booking Engine, simply add your Google Adwords conversion ID (sometimes known as campaign ID) to the Google Adwords field referenced in Adding the Google Analytics code to RezOvation Desktop Booking Engine. Do not use your Google Adwords account number, as this does not provide any tracking information.


Please do not:

  • Use your Google Adwords account number, as this does not provide any tracking information.
  • Place the Adwords script on your website or in the Booking Engine template. The Adwords script is called automatically on the online reservation confirmation page. As long as you enter the code in RezOvation Desktop, the Adwords conversion will be recorded when it occurs. If you do put the conversion script on any other pages of your site, this will skew your conversion numbers.


Important notes:

  • In order to see pay per click cost data in your Google Analytics account, you must link your Adwords account to your Analytics account. Please see the Google documentation for more information on how to link accounts.
  • It has come to our attention that Google Adwords may sometimes provide inconsistent data if you link multiple Adwords accounts for multiple domains back to a single Analytics account. In general for best results it is recommended that you set up an individual Adwords and Analytics for each domain that you wish to track.
  • Need more information about Google conversion tracking? Visit the Google help docs: https://adwords.google.com/support/aw/bin/answer.py?answer=115794
Personal tools