If you currently have the choice to support Classic or Universal, it is best to choose Universal. If your website is already using the Classic implementation, it is still okay to follow these instructions
Step 1: Integrate Google Analytics Classic 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-X with your web property ID and replace YOUR-DOMAIN-GOES-HERE.com with your domain name (do not include www.)
Additional Information about Cross Domain Tracking
If you or your webmaster are creating custom experiences to integrate with the Booking Engine, then you may have to implement other solutions to solve cross-domain tracking. Please refer to Google's Documentation on tracking multiple domains.
Step 2: Update all links to the Booking Engine
To inform Google Analytics that the user is about to enter the Booking Engine, Google requires any link to the Booking Engine uses the following format:
<a href="https://secure.thinkreservations.com/MY_BUSINESS_ID/reservations" onclick="_gaq.push(['_link', 'https://secure.thinkreservations.com/MY_BUSINESS_ID/reservations']); return false;"> Reservations</a>
Note: Please make sure to replace MY_BUSINESS_ID with the proper identifier to make the link functional.
Step 3: Configure Google Analytics in ThinkReservations
- Log into ThinkReservations.
- Click on "Settings" located in the black bar at the top of the screen.
- Choose "Business Settings" on the left-hand side.
- Scroll to the bottom to find the "Google Analytics" configuration.
- Choose "Classic."
- Add your web property ID to the "Account ID" field
This is an example of what it should look like: