With Sitefinity Insight, you can easily integrate Google Tag Manager (GTM) 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 Sitefinity Insight to collect data when your tags fire. For more information, see Google Tag Manager.
In this article, you will learn how to integrate Sitefinity Insight with Google Tag Manger on your Sitefinity CMS sites and on sites which are not built using Sitefinity CMS.
PREREQUISITES: Register a Google Tag Manager account and create a container. For more information, see Setup and install Tag Manager.
First, you need to install and configure the Sitefinity Insight template in your GTM workspace. To do this, perform the following:
RESULT: Sitefinity Insight is available in Google Tag Manager, and you can create tags based on its template.
To use GTM in your Sitefinity CMS sites, you must use the JavaScript code provided by Google on your pages or page templates. To do this, perform the following:
Perform the following:
Alternatively, you can use GTM only on a particular page. In this case, click Pages, and open that page for editing.
<head>
@* Custom scripts *@
<body>
RESULT: GTM and the Sitefinity Insight tag are active on your Sitefinity CMS site, and you can use them.
As a marketer, GTM offers you multiple benefits, such as the ability to quickly perform experiments, to change your web properties without coding knowledge, or to manage multiple marketing tools from a single place. In you want to use it together with Sitefinity Insight on your non-Sitefinity CMS pages, perform the following:
RESULT: GTM and the Sitefinity Insight tag are configured and ready to to be used on your non-Sitefinity CMS site.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important