Adding Google Tag Manager to your digital workplace

Google Tag Manager provides a method of tracking information on your digital workplace using triggers and tags. You can then connect this information to an analytics dashboard such as Google Analytics. 

Articles in this section

Who can do this

  • Workplace Administrators
  • Enterprise Administrators

Google Tag Manager container

This article assumes that you have already created an account and container for your digital workplace in Google Tag Manager. When making changes to your container, do not forget to publish them to make them live.

Google Analytics 4

If you have set up Google Analytics 4 as a site tag directly in your workplace, you do not need to install Google Tag Manager separately.

How to add Google Tag Manager to your digital workplace

To add Google Tag Manager to your digital workplace:

  1. In Google Tag Manager, go to the container that you have created for your digital workplace.
  2. Select Admin to view your container options.
  3. Select Install Google Tag Manager.
  4. Copy the script found in the top text box. You do not need to add the script found in the bottom text box to your digital workplace. The bottom script is a fallback if JavaScript is disabled; however, your digital workplace would not be functional if JavaScript was disabled.
  5. Go to your digital workplace.
  6. Select  Control Panel.
  7. Under Optimization, select Meta Tags.
  8. Paste your Global Site Tag (copied in step 7)into the provided text box. To avoid replacing any existing information, you should paste this script at the bottom of the text box.
  9. Select Save.

You can verify that Google Tag Manager is running on your site by:

  1. In Google Tag Manager, go to the Workspace of your digital workplace.
  2. Select Preview.
  3. In the Start Tag Assistant popup, enter your digital workplace's URL.
  4. Select Start.

The Tag Assistant will open in a new tab and your digital workplace should open in a new window.