Google Tag Manager Integration


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 Indicative Analytics template is only available for containers with Web, iOS, and Android target platforms.

Google Tag Manager Integration

  1. In Indicative, click on Settings and select Data Sources.
  2. Click on New Data Source.
  3. Select the Google Tag Manager icon.
  4. You will need to use this API Key in step 9.

  5. Navigate to your Google Tag Manager console and select New Tag in the top left corner.Screen_Shot_2020-05-28_at_10.52.22_AM.png
  6. Click on Tag ConfigurationScreen_Shot_2020-05-28_at_10.53.29_AM.png
  7. Click on Discover more tag types in the Community Template GalleryScreen_Shot_2020-05-28_at_10.54.11_AM.png
  8. Select the Indicative Analytics template, and add it to your workspace.Screen_Shot_2020-09-30_at_5.56.27_PM.png
  9. Once you have added the Indicative Analytics tag to your workspace, you’ll need to input your Indicative project’s API key from step 4 into the API Key field. 
  10. Once you have inputted your Indicative 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 Indicative.
    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).

      1. If Custom Events is selected as your “Tag Type”, an additional field called “Event Name” will become available. This allows you to choose the Indicative 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 Indicative event names match GTM custom event names.Screen_Shot_2020-09-30_at_6.16.06_PM.pngScreen_Shot_2020-09-30_at_6.16.30_PM.png
      2. 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. 
  11. You may then optionally choose to set a custom unique ID. This variable will be used as each user's User ID within Indicative. You may then choose to set this ID as your alias. For more information on aliasing, see documentation here.Screen_Shot_2020-05-28_at_11.12.11_AM.png
  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.Screen_Shot_2020-05-28_at_11.13.15_AM.png
  13. Then you must configure your cookie settings. Indicative recommends that you write cookies on your Main Domain so that each subdomain on your website is tracked using the same cookie.Screen_Shot_2020-05-28_at_11.14.03_AM.png
  14. More advanced Google Tag Manager users may choose to customize their Indicative-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 Indicative in the Triggering section.Screen_Shot_2020-05-28_at_11.14.59_AM.pngScreen_Shot_2020-05-28_at_11.15.20_AM.png
  16. Next, save the Indicative Analytics tag to your workspace by clicking Save in the upper right corner.Screen_Shot_2020-05-28_at_11.15.46_AM.png
  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.Screen_Shot_2020-05-28_at_11.16.24_AM.png

5 users found this helpful