Skip to main content

Configuring the Google Tag Manager integration

You can configure this integrated search at the Global level or the site level. Global configurations are inherited by all sites, and site-level configurations override Global configurations. This topic explains how to configure this integrated search at the Global level.

To configure the Google Tag Manager integration:

  1. From your Google Tag Manager console, obtain your container ID and, if desired, auth token. For details, see Add a new container.
  2. Click > Admin > Sites & Settings > Sites > Global
  3. Under Front-End, expand Tag Manager.
  4. Under Tag Manager, click Google Tag Manager.
  5. Using the following table as a reference, complete the fields as needed.
  6. Click Save.
FieldDescription
Container IDEnter your Google Tag Manager container's ID that you copied in step 1. This field is used to uniquely identify your container, which holds all of your tags, triggers, and variables for a particular site or app.
Enabled in PreviewsToggle on to enable Google Tag Manager for page previews.
Environments tab
Auth TokenEnter the authorization token you copied in step 1 for the specified Google Tag Manager environment. For details, see Tag Manager API Authorization.
Preview EnvironmentEnter a name for the preview environment. Google Tag Manager will load the container to this environment in preview mode. This ensures that any testing is not visible to site visitors.
Use Environment Set in CookieToggle on to force Google Tag Manager to use the environment specified in the Google Tag Manager console. This field overrides the Preview Environment field.
Note

Google Tag Manager is supported on pages that have disabled scripting.