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.

    • Related Articles

    • Import Google Tag Manager container for Google Analytics

      We’ve created a Google Tag Manager import container, containing the necessary elements to make Google Tag Manager work with Google Analytics and Task Analytics. You can download the container settings and import into your Google Tag Manager. Download ...
    • Integration of Task Analytics with Google Analytics through Google Tag Manager

      The Google Analytics integration allows organizations to send information on tasks & success scores to Google Analytics. Combining Task Analytics with your existing web analytics software will provide you with valuable information that goes beyond ...
    • Analyzing Task Analytics data in Google Analytics

      You've finished the integration of Task Analytics and Google Analytics. Great! Now it's time to analyse the Task Analytics in Google Analytics. Create segments, filter data based on completion scores, segments or audiences.  Google Analytics 3rd ...
    • Start Hotjar screen recordings with Google Tag Manager

      Start a Hotjar screen recording as soon as your user interacts with Task Analytics. This will allow you to record only those visitors where intent and completion score are known. You will get fewer screen recordings, but you will know the task, ...
    • Installation guide for Task Analytics

      You can install Task Analytics on your website, app or intranet by adding the Task Analytics javascript code on the pages you want Task Analytics to run on. Step 1: Get the Task Analytics javascript Retrieve the Task Analytics javascript. This ...