Support Center

Integrating Google Analytics Universal

Step 1: Integrate Google Analytics Universal with your website and enable cross domain tracking

Add the following block of code to every page of your website.  It should be placed right before the </head> tag.  Please make sure to replace UA-XXXXX-Y with your Google Analytics web property ID.

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-XXXXX-Y', 'auto​', {'allowLinker': true});
// Loads the Linker plugin
ga(​'require', ​'linker');
// Instructs the Linker plugin to automatically add linker parameters
// to all links and forms pointing to the domain "secure.thinkreservations.com".
ga('linker:autoLink', ['secure.thinkreservations.com'], false, true);
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->

 

Note: The pages on ThinkReservations are already configured to look for and accept linker parameters from your source domain.



Additional Information about Cross Domain Tracking

For additional information about cross Domain Tracking for Google Analytics Universal, please refer to Google's Documentation here and also here.

Step 2: Enable E-commerce tracking inside Google Analytics

  1. Log into Google Analytics.
  2. Navigate to the desired view (typically you will only have one view to select from).
  3. Click the "Admin" button in the top navigation.
  4. In the "View" column, select "Ecommerce Settings"
  5. Toggle the "Enable Ecommerce" option to ON.

Step 3: Add proper domains to the Referral Exclusion List

It is important to add both your website domain and the secure.thinkreservations.com domain to the Referral Exclusion List.

To access the Referral Exclusion List:
  1. Log into Google Analytics.
  2. Navigate to the desired view (typically you will only have one view to select from).
  3. Click the "Admin" button in the top navigation.
  4. In the "Property" column, select "Tracking Info" and then "Referral Exclusion List".
Once you are on the Referral Exclusion List, verify that the following domains are present:
  • secure.thinkreservations.com
  • The domain of your website (Example: yourdomain.com - notice there is NO www.)
If you need to add a domain name to the list, you may do so by clicking the "Add Referral Exclusion" button.

Step 4: Configure Google Analytics in ThinkReservations

  1. Log into ThinkReservations.
  2. Click on "Settings" located in the black bar at the top of the screen.
  3. Choose "Business Settings" on the left-hand side.
  4. Scroll to the bottom to find the "Google Analytics" configuration.
  5. Choose "Universal".
  6. Add your web property ID to the "Account ID" field.
This is an example of what it should look like:

    

Contact Us


Related Articles:

d823003ec4e62f7c319afe831ca4aee6@thinkreservations.desk-mail.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete