Google Tag Manager

Google Tag Manager (GTM) is an easy way to manage your website tags requiring no knowledge of coding. Using GTM, you can add or update your own tags for conversion tracking, site analytics, remarketing and more across websites and apps. GTM is highly scalable with the size of your business, implements extensive error checking, and facilitates collaboration across your team.

If you currently aren’t using Google Tag Manager, and would like to learn more, visit Google Tag Manager’s website here.

Please note that the Analytics template is only available for containers with Web, iOS, and Android target platforms.

Instructions

  1. In Analytics, click on Settings and select Data Sources. Analytics settings data sources
  2. Click on New Data Source. Analytics new data source
  3. Select the Google Tag Manager icon. Select Google Tag Manager icon
  4. You will need to use this API Key in step 9. Google Tag Manager API key
  5. Navigate to your Google Tag Manager console and select New Tag in the top left corner. Google Tag Manager new tag
  6. Click on Tag Configuration. Google Tag Manager tag configuration
  7. Click on Discover more tag types in the Community Template Gallery. Google Tag Manager community template gallery
  8. Select the Indicative Analytics template, and add it to your workspace. Indicative Analytics template
  9. Once you have added the Indicative Analytics tag to your workspace, you’ll need to input your Analytics project’s API key from step 4 into the API Key field. Input Analytics API key
  10. Once you have inputted your Analytics API key, you must select your Tag Type. You have the option to select Initialization, Custom Event, Clear Stateful Properties, or Clear Unique ID. Please note: all selections initialize the SDK, and send the Page View event to Analytics.

    Tag Type Meaning
    Initialization Initializes the SDK and sends the Page View event only.
    Custom Event Sends custom GTM events.
    Clear Stateful Properties Clear properties stored as a persistent cookie (e.g. at user logout).
    Clear Unique ID Clear the user ID stored as a persistent cookie (e.g. at user logout).
    • If Custom Events is selected as your “Tag Type”, an additional field called “Event Name” will become available. This allows you to choose the Analytics event name from the available variables in GTM. Press the + on the right of the field to select a variable. “Event” is the recommended variable so Analytics event names match GTM custom event names. Custom event tag type Select variable for event name
    • If Custom Events is selected as your “Tag Type”, you also have the option of adding Custom Properties. This allows you to choose the event’s property names and values from the available variables in GTM. Press the + on the right of the property field to select a variable. Variables can be either normal event properties, which add context to an event, or they can be stateful properties, which remain the same for a user until the property is cleared (see above).

      Property Type Meaning
      Event Property Add context to an event, like device type or marketing channel.
      Stateful Property Event properties that remain the same for a user until the property is cleared.

      Custom properties for custom events Select variable for custom properties

  11. You may then optionally choose to set a custom unique ID. This variable will be used as each user’s User ID within Analytics. You may then choose to set this ID as your alias. For more information on aliasing, see documentation here. Set custom unique ID
  12. Next, click on Main Configuration to configure your session and cookie settings. Here, you can choose to track sessions and set the timeout threshold for each session. The default defines sessions as being separated by 30 minutes of inactivity. Main configuration session settings
  13. Then you must configure your cookie settings. Analytics recommends that you write cookies on your Main Domain so that each subdomain on your website is tracked using the same cookie. Main configuration cookie settings
  14. More advanced Google Tag Manager users may choose to customize their Analytics-GTM integration further. In your Advanced Settings, you may set tag firing priorities, enable custom tag firing schedules, add tag metadata and more.
  15. Once you have configured your tag, select specifically which events you wish to send to Analytics in the Triggering section.

    Configure tag triggering settings Select events for tag triggering

  16. Next, save the Indicative Analytics tag to your workspace by clicking Save in the upper right corner. Save Indicative Analytics tag
  17. Finally, in order to finish your Google Tag Manager integration, you must Submit your changes to your Workspace. Click on the Submit button in the upper right corner of your “Overview” page. Submit GTM changes

Was this page helpful?