With Digital Experience Cloud, you can easily integrate Google Tag Manager to collect data and track specific user behavior. In case you are already working with the Tag Manager, you can use your existing triggers and create custom HTML tags to enable DEC to collect data when your tags fire. For more information, see Google Tag Manager.
NOTE: Using Google Tag Manager, you can collect data with DEC from any system, not just from Sitefinity CMS.
To track a new or existing page, you need to inject the Google Tag Manager code in all pages you want to track. This code is responsible for firing your tags.
In case you are working with a Sitefinity CMS instance, you can:
An example of tracking interactions in A Sitefinity site with the help of Google Tag Manager is clicks on page elements that are within the class=”sfPublicWrapper” class.
To enable Digital Experience Cloud to track clicks, for example, you need to configure the following:
Your custom tag for Sitefinity CMS sites needs to have content similar to the following:
Your custom tag for non-Sitefinity CMS sites needs to have content similar to the following:
To test whether DEC receives interaction data and verify the integration is properly configured, you can just open a tracked page in a browser and complete the tracked interaction, for example, click on an element within the specified class. You can look at the Network tab of the browser Developer tools and verify there are requests to the DEC API servers.
Next, you can look at your data center in DEC and see the tracked interactions in the Journey timeline of known contacts.
Back To Top
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.