Blue Tracely Install Guide for Google Tag Manager

Add the Blue Tracely snippet as a Custom HTML tag in Google Tag Manager, fire it on all pages, and publish your container.

This guide shows how to install the Blue Tracely snippet with Google Tag Manager (GTM): as a Custom HTML tag that fires on every page. If you can edit your site's header directly, that works just as well. See Installing Your Blue Tracely Tracking Script.

Before you begin

Step 1: Copy your snippet

  1. On the Script page, select Install next to your domain.
  2. Select Google Tag Manager. The Install with Google Tag Manager steps open with your snippet below them.
  3. Select Copy.

The Install with Google Tag Manager steps on the Install the script page

Step 2: Create the tag in Google Tag Manager

  1. In Tag Manager, open the container for your website.
  2. Choose Tags, then New.
  3. Choose Custom HTML as the tag type.
  4. Paste your snippet into the HTML field, unchanged.
  5. Give the tag a name you'll recognize, such as "Blue Tracely".

For details on Custom HTML tags, see Google's Custom tags help page.

Step 3: Set the trigger

Save the tag.

Step 4: Submit and publish

  1. Select Submit in your workspace.
  2. Name the version so you can find it later.
  3. Select Publish.

The tag only reaches your site once the container is published.

Step 5: Check the installation

Open your site, then go back to the Script page and select Test script next to your domain. When the script answers, you'll see "The script is installed on your website." See Verifying Your Script Installation.

Things to keep in mind

Common issues

  • The tag never fires. Your consent tool may be holding it back, or the container isn't published. GTM's preview mode shows whether the tag fired.
  • The script loads in preview but not on your live site. Check that the latest container version is published, and look for blocked-script errors in your browser's console.