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
- From your GTM workspace, select New Tag in the top left corner.
- From there, you must configure your tag. Select a tag type to begin setting up your integration with Indicative.
- Access the Community Template Gallery by clicking on the following link.
- Select the “Indicative Analytics” template, and add it to your workspace.
- Once you have added the Indicative Analytics tag to your workspace, you’ll need to input your Indicative project’s API key into the API Key field. Find your Indicative API key in the top right of your onboarding screen. If you have already integrated data, and want to augment your integration with Google Tag Manager data, find your API key by navigating to your Accounts & Billing dropdown and selecting “Projects”.
- 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).
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Once you have configured your tag, select specifically which events you wish to send to Indicative in the “Triggering” section.
- Next, save the Indicative Analytics tag to your workspace by clicking “Save” in the upper right corner.
- 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.