Skip to main content
Integrating with Google Tag Manager
Support Team avatar
Written by Support Team
Updated over 7 months ago

Google Tag Manager is Google's most flexible tracking product that lets you collect and report traffic and conversion information into Google products (e.g., Analytics, Ads, etc.) or 3rd party products (e.g., Facebook).

The power and flexibility of Tag Manager is great, just be aware that it's a bit trickier to set up and maintain than Google Analytics.

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 Google Tag Manager.

Check the Tag Manager configuration on your website

If you're already using Tag Manager, the tracking code below should already be on your website.

Be sure to change the GTM ID in the example (GTM-12345AB) to your real Tag Manager ID.

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-12345AB');</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.

Setting up your Tag Manager container

Tag Manager requires several tags, triggers and variables to be added to your container.

To make setup easier, we've created a Tag Manager container template that you can import into your Tag Manager account.

Importing the Tag Manager template

  1. In Tag Manager, navigate to Admin and select Import Container

  2. Select the template file that you downloaded and import into a new container

  3. If you have an existing Tag Manager container, please test the import on a new container to understand what it does, before importing it into an existing container.
    โ€‹It is your responsibility to verify that the template settings (including the Google Analytics Settings variable) don't conflict with any prior settings you have in your container.

  4. Navigate to the workspace for the container where you imported the template

  5. If using GA4:

    a. Click Tags

    b. Edit the "Google Analytics 4" tag and enter your Measurement ID

  6. Publish your changes

Enable Google Tag Manager in Starboard Suite

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

  2. Activate the Google Tag Manager app

  3. Enter the Tag Manager Id that Google provided (e.g., GTM-12345AB)

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 Google Tag Manager 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?