Enabling Google Analytics integration for Task Analytics

Enabling Google Analytics integration for Task Analytics


Task Analytics can be set up to feed intent data to Google Analytics, providing enhanced segmentation of behavioral data. This allows you to add a segment to filter out what the customers came for and whether they could complete the task they intended or not.



Enabling or disabling the integration

If you have Admin permissions you can toggle the integration on/off under Setup → Settings with the checkbox seen in the screenshot below:
Enabling the Google Analytics integration of Task Analytics in the "Settings" submenu

How does the integration work?

Task Analytics will check whether your website is running with Google Tag Manager or asynchronous Google Analytics. If Google Tag Manager is found, Task Analytics will push an event to the dataLayer. If there’s not dataLayer, Task Analytics will send an event to Google Analytics directly. If there’s an issue and Google Analytics cannot be found, the tracking will be submitted but will simply not be registered by Google Analytics. The end-user will not encounter an error.

The asynchronous Google Analytics event
The Google Analytics integration will publish events as:
  1. Event Category: Task Analytics
  2. Event Label: <Task name [unique task id]> 
  3. Event Action: Completed or Gave In
The Google Tag Manager dataLayer push
The dataLayer push that's being pushed when Google Tag Manager is found:
  1. dataLayer.push({
  2.    'taskName': '<Task name [unique task id]>',
  3.    'taskResult': 'Completed' or 'Gave In',
  4.    'event': 'Task Analytics'
  5. });


    • Related Articles

    • 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 ...
    • 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 ...
    • What Task Analytics data is sent to Google Analytics?

      If you’re using Task Analytics and have enabled the 3rd integration with Google Analytics, you’ll be able to analyze WHY visitors visit your website in your preferred web analytics tool. Segments based on task & task completion  The integration ...
    • 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. ...