Integrating with Google Global Site Tag
Support Team avatar
Written by Support Team
Updated over a week ago

Global Site Tag is the newer integration for Google Analytics Universal, which will be supported by Google and Starboard Suite through June 2023.

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 Global Site Tag.

Check the Global Site Tag configuration on your website

If you're already using Global Site Tag, 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 include code to match the example below.

Be sure to:

  1. Change the UA ID in the example (UA-123456789) to your real Google UA ID
    Please note that the UA ID is referenced twice in the example.

  2. Change YOUR_DOMAIN.com to your actual website domain

  3. Change YOUR_ACCOUNT_SUBDOMAIN.starboardsuite.com to your actual account subdomain

<script async src="https://www.googletagmanager.com/gtag/js?id=UA-123456789"></script>

<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}

gtag('js', new Date());

gtag('config', 'UA-123456789', {
'linker': {
'domains': [
'YOUR_DOMAIN.com', 'YOUR_ACCOUNT_SUBDOMAIN.starboardsuite.com'
]
}
});
</script>

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 Global Site Tag Universal in Starboard Suite

  1. In your Control Panel, go to Admin->App Store

  2. Activate the Google Global Site Tag Universal app

  3. 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":

  1. Set "Destination type" to "Regular Expression"

  2. 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 Global Site Tag integration:

  • Sales performance is supported.

  • Product performance is supported.

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:

Did this answer your question?