How to install Task Analytics with Google Tag Manager

Install Task Analytics with Google Tag Manager

You can install Task Analytics on your website, app or intranet with the Google Tag Manager.



Step 1: Get the Task Analytics javascript
Retrieve the Task Analytics javascript. This javascript is generated automatically and is unique for your account. Learn how to retrieve the javascript code

Step 2: Create a new tag in Google Tag Manager
Go to “Tags” and select “New” to create a new tag. Give the tag a name, e.g. “Task Analytics - Script” and select “Custom HTML” as tag type. Copy and paste the Task Analytics javascript code into the text area.
Custom HTML tag in Google Tag Manager with Task Analytics code insideCreate a new tag and copy paste the Task Analytics code
Step 3: Add a trigger to the Task Analytics tag
Select a trigger. This tells Google Tag Manager on which pages to load the script. You can select the default trigger called “All Pages” or you can create your own trigger. More information on triggers
Firing trigger for Google Tag ManagerAdd a (custom) trigger to tell Google Tag Manager when to load Task Analytics


Step 4: Preview and submit your workspace changes
When finished, preview the Google Tag Manager workspace to validate the correct working of the Task Analytics script. You can check if the tag is loaded using the preview-window of Google Tag Manager. See image below for more details.
Preview modus of Google Tag Manager to check firing of Task AnalyticsUse the preview modus to check if the Task Analytics script is fired
Do you want to know what the Task Analytics invitation looks like? You can use the ?_tmcf URL parameter to preview the pop-up on your website. Preview your survey

Step 5: Submit your Workspace
Submit your workspace to publish the Task Analytics code. Don’t forget to activate your survey to get answers to the WHY.