Analytics.js is a legacy integration for Google Analytics Universal.
Though it is still supported by Google and Starboard Suite (through June 2023), it has some functionality limitations, so we strongly encourage you to consider updating to a newer integration like Global Site Tag.
Verify your Google product and version
For effective tracking, the Google product version you configure in Starboard Suite must match the Google product version you use on your main website.
Before proceeding, please verify that your website is using Analytics.js.
Check the Analytics.js configuration on your website
If you're already using Analytics.js, the tracking code below should already be on your website.
Google's "linker" feature will allow traffic to your Starboard account subdomain to be counted as traffic to your primary website domain, so you may want to configure your code to match the example below.
Be sure to change the UA ID in the example (UA-123456789) to your real Google UA ID.
<script type="text/javascript">(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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-123456789', 'auto', {'allowLinker': true });
ga('require', 'linker');
ga('send', 'pageview');
</script>
Named trackers with Booking Lightbox and Live Calendar
Using named trackers (see "TRACKER_NAME" example below) are not supported when using the Booking Lightbox or Live Calendar integration with Analytics.js.
ga('create', 'UA-123456789', 'auto', {'name' : 'TRACKER_NAME'});
If you're using the Booking Lightbox or Live Calendar and you need multiple trackers, please consider upgrading your website and your Starboard Suite account to use Google Global Site Tag instead of Analytics.js.
Include the Booking Lightbox code on your website
If your website uses the Booking Lightbox or Live Calendar iFrame integration, verify that booking-lightbox.js is included on your website (see Booking Lightbox or Live Calendar for more information).
If it's already included, you can skip to the next step.
Enable Google Analytics.js Universal (legacy) in Starboard Suite
In your Control Panel, go to Admin->App Store
Activate the Google Analytics.js Universal (legacy) app
Enter the UA Account ID that Google provided (e.g., UA-12345678-1)
Set up Goal Tracking in your Google Analytics account
Log-in to Google Analytics and follow Google's instructions to create a "Goal".
Under "Goal details":
Set "Destination type" to "Regular Expression"
Set URL to: /boarding-pass/
Set up E-commerce Tracking in your Google Analytics account
We will automatically post anonymous revenue data to your Analytics account.
To see this data in Analytics, you'll need to enable e-commerce tracking in your Analytics account.
Please note the following details about using the Analytics.js integration:
Sales performance is supported.
Product performance is not supported.
To measure product performance, please upgrade your website and your Starboard Suite account to use Google Global Site Tag instead of Analytics.js.
Add starboardsuite.com to your Analytics "Referral Exclusion List"
If you find that Analytics is creating a new "session" and showing starboardsuite.com as the "source", just add starboardsuite.com to your Analytics exclusion list.
Authorize.net users may want to add authorize.net to their exclusion list as well.
For more info, see this Google support document: