Google Tag Manager (integration)

The Attentive and Google Tag Manager (GTM) integration provides a seamless way to add the Attentive tag to your website with the click of a button. As a reminder, in order to collect behavioral events (such as product views, cart adds, and purchases), you must add the Attentive tag to your website. 

Note: If you previously installed the Google Tag Manager (direct in container) integration, it will continue to collect behavioral events, and there's no action required.

Add the Attentive tag using GTM

Complete the following steps to add the Attentive tag using the Google Tag Manager integration:

  1. Go to the Marketplace and click Google Tag Manager.
  2. Click Install.
  3. Click Sign in with Google.
    Google Tag Manager integration setup page in Attentive. A 'Sign in with Google' button is prominent, with a cursor hovering over it.
    The Google sign-in window appears.
  4. Click your Google account. You're asked to let Attentive access your Google account.
  5. Click Allow.
    Google account permissions screen. It shows Attentive Mobile requesting access to Google Tag Manager container versions, with the 'Allow' button highlighted by a cursor.
    You're redirected to the Google Tag Manager integration page in Attentive.
  6. Click the Account drop-down and select My company.
  7. Click the Container drop-down and select your unique container.
  8. Click the Workspace drop-down and select My default.
  9. Click Create Tag.
    Attentive's Google Tag Manager integration settings. It displays dropdowns for Account, Container, and Workspace, with the 'Create Tag' button highlighted by a cursor.

The Attentive tag is now installed on your website. The latest version of the tag loads for visitors to your website. A message appears on the Google Tag Manager integration page to indicate that the tag is installed.

For more information about Google Tag Manager, see Tag Manager Help.

Disconnect the integration

If you need to disconnect the integration, you must do it both within Attentive and within your Google Tag Manager account. If you only disconnect the integration within Attentive, Attentive won't delete any objects from your Google Tag Manager account.

Complete the following steps to disconnect the integration:

  1. Go to the Marketplace and click Google Tag Manager.
  2. Click the Attentive Tag auto-installed link on the Settings tab.
    Attentive's Google Tag Manager integration page. A message indicates that the Attentive Tag has been detected in the user's Google Tag Manager account, with the link 'Attentive Tag auto-installed' highlighted by a cursor.
    You're redirected to the object within your Google Tag Manager account.
  3. Manually remove the Attentive tag within your Google Tag Manager account.
  4. Return to the Google Tag Manager integration page in Attentive. 
    Confirmation dialog in Attentive for disconnecting the Google Tag Manager integration. It states that the tag won't be automatically removed from the GTM account, and shows a 'Disconnect' button.
  5. Click Disconnect.

Questions?

We’re here to help! Contact our White Glove team (whiteglove@attentivemobile.com) to ask about the Attentive + Google Tag Manager integration. 

Articles in this section