Home → Arctic Reservations → Guest-Facing Site → Settings Up & Installing Analytics
30.16. Settings Up & Installing Analytics
Setting up Google Analytics:
To enable Google Analytics for your guest-facing site, you will need to first go to your guest-facing site settings within Arctic and select your preferred version of Google Analytics.
To do this go to the "Settings" page under "Guest-Facing Sites" and click the "Pencil" next to "Manage Guest-Facing Sites".
On the "Browse Guest-Facing Sites" screen click the "Settings" button next to your guest-facing site.
On the "Guest-Facing Site Settings" screen choose your preferred Google Analytics format from the "Google Analytics Format" drop down menu.
Note: As of July 1st 2023, Google stopped support for Google Classic and Google Universal. The only Google Analytics format currently supported by Google is G4. If you select either Classic or Universal for your Google Analytics Format, you will receive no data from your guest-facing site. Be sure you select G4 in order to receive analytics information from your guest-facing site.
If you are using a subdomain guest-facing site implementation, you will then enter your Google Analytics tracking account ID into the "Google Analytics Tracking Account ID" field.
This will tell Arctic what account ID should be used when sending data over to Google Analytics.
Once you have selected your preferred Google Analytics format and if using a subdomain guest-facing site implementation, entered your Google Analytics tracking account ID, scroll down to the bottom of the screen and click "Save Settings" to save your changes.
Installing Analytics on an IFRAME Guest-Facing Site Implementation
If you are using an IFRAME guest-facing site implementation, to set up Google Analytics you will install the needed analytics script on your main website. The JavaScript inside the IFRAME of your Arctic guest-facing site reaches out to the page where you installed the IFRAME and detects what analytics software is installed there, sending details about the current guest-facing site page via your main site’s analytics system. The IFRAME guest-facing site implementation natively supports Google Analytics Classic, Google Analytics Universal, Google Tag Manager and Google Analytics G4.
Installing Analytics on a Subdomain Guest-Facing Site Implementation
You can add any arbitrary analytics code to your primary template (see the Guest-Facing Site Design Tools for Subdomain Implementations section of this chapter for more details on accessing the primary template) to collect information about guest activity and behavior.
By default, during the design import process, Arctic looks for Google Analytics code and adapts it for use in Arctic Reservations. Arctic Reservations is able to dynamically generate Google Analytics code for all three versions (ga.js,
analytics.js and gtag.js
). To determine what Google Analytics account is being used and where the code is inserted, look for the following snippet in your guest-facing site design primary template:
{$google_analytics|replace:'ACCOUNT-ID':'UA-12345678-9'}
That code will be replaced with standard Google Analytics code that will allow tracking guests throughout the booking process.
Tips
Other important notes and tips for Google Analytics:
-
Be sure that your "cookie domain" is specified. Rather than "auto" (the default), it should be the main domain excluding "www". For example, if your website is "www.theraftingcompany.com", your cookie domain should be "theraftingcompany.com".
-