Google Tag Manager



Google Tag Manager (GTM) is a free tool that allows you to manage and deploy marketing tags (e.g., snippets of code or tracking pixels) within your Absorb LMS portal. GMT lets you track almost anything, such as outbound links, button clicks, or more complex actions such as e-commerce product or promotion tracking.  GTM works with non-Google products and manages code in a single location. 

Important Note

Absorb LMS currently blocks GTM's custom code/HTML functionality.


Table of Contents


Google Tag Manager Setup

Visit: Google Support: Setup and install Tag Manager

Absorb LMS has built an integration with GTM so you can better analyze the usage of your portal.  If you currently leverage GTM within your organization, a System Admin can enable this feature within the Absorb Admin Interface and enter a Google Tag Manager (GTM) ID.
Important: Please note that this implementation is limited to the Learner Interface only.

A majority of the setup will take place on Google Tag Manager (third-party application). You will need a Gmail account to create a workspace and get a container ID.  To learn more about the features and functionality available, visit: Google Tag Manager > Supported Tags

Note: To enlarge thumbnail images, right-click on the picture and select "Open image in new tab."

Part 1: Set up Google Tag Manager

Step Action
1. Visit: http://tagmanager/
2. Create an account or use an existing tag manager account.
3. Publish the workspace.
4. Get the container ID.
Continue to Part 2: Configure settings in Absorb LMS Portal


Part 2: Configuring settings in Absorb LMS Portal

Step Action Image
1. Log in to your Absorb LMS portal as a System Admin.  
2. Navigate to the Admin Interface > Portal Settings. Portal-Settings.jpg
3. Enter the container ID in the Google Tag Manager ID field. GTMfield.jpg
4. Save changes.  


Single-Page Application Configuration

Since the Learner Experience is a single-page application, some tags may not "fire" or load on each page transition. In some cases, you may only want to fire once, and that's okay. In other situations where it relies on page transitions, the default setup will not work. At the time of this article, GTM does not list support for single-page applications. To help, we've created the following workaround outlined below.

For context, check out this article. 

Note: To enlarge thumbnail images, right-click on the picture and select "Open image in new tab."

Step Action Image
1. We've added an absorbPageview custom event when navigating around the LMS. image2020-2-27_15-28-37.png
2. It includes two (2) data layer variables: pathname and search (if applicable). image2020-2-27_15-29-7.png
3. In order to fire a Google tag on this custom absorbPageview event, add a Trigger in Google Tag Manager with Event Name "absorbPageview." image2020-2-27_15-29-15.png
4. Next, add this Trigger to your tag. image2020-2-27_15-29-21.png
5. You will then notice that the tag is fired each time an absorbPageview is triggered. image2020-2-27_15-29-30.png



Published on
Have more questions? Submit a request


Article is closed for comments.