
Before you start with the below procedures, log in to your Google Tag Manager account and select the Workspace you want to integrate with Zoho PageSense.To create custom HTML tag in GTM:
1. Go to the left pane, click Tags, then click the New button.
<script>
if(window.ZAB && window.ZAB.experimentsLoaded) {
window.ZAB.GAGTMIntegFunc();
}
if(document.addEventListener){
document.addEventListener("zpsExperimentsLoaded", function() {
window.ZAB.GAGTMIntegFunc();
}, false);
} else {
document.attachEvent("zpsExperimentsLoaded", function() {
window.ZAB.GAGTMIntegFunc();
});
}
</script>
5. Click the trigger icon and choose All Pages with the trigger type as Page View.
6. Click Save in the top-right corner.
To create data layer variables in GTM:
1. Go to the left pane, click Variables, then click the New button.
5. Create your second Data Layer Variable. Again, on the left pane, click Variables then the New button.
6. In the Untitled Variable field, enter your variable name as 'PageSenseVariationName'.
To create a new trigger for custom event in GTM:
1. Go to the left pane, click Triggers, then click the New button.
2. In the Untitled Tag field, enter the trigger name as 'zohoPageSenseEvent'.
To create a tag for GA in GTM:
1. Go to the left pane, click Tags, then click the New button.
The tracking parameters you will set in this step depends on what data you want to integrate and view on Google Analytics. Here, we will use the standard parameters "category" and "action" from our Event.In Track Type, select Event.
In Category, select Zoho PageSense.
In Action as {{PageSenseExperimentName}}:{{PageSenseVariationName}}
In Non-Interaction Hit as True.
In Google Analytics Settings, choose Select Settings Variable.
Select the Enable overriding settings in this tag option.
In Tracking ID, copy-paste the Tracking ID from Google Analytics, which you will find in the GA admin page, under Tracking Info.
5. Click the Triggering icon and choose zohoPageSenseEvent of type Custom Event from the list.
To enable GA within PageSense:
1. On the left pane, click either the A/B Test or Split URL Test and choose the required experiment you want to view reports.
2. Now, click the CONFIGURATION tab on the top bar, scroll down to Add Integrations section and click on here to enable the Google Analytics button from the Integrations list.
To view reports in Google Analytics:
1. Login to your Google Analytics account, on the left pane, click Behavior, then Events.
2. Click the Overview button.
3. You can view a summary of your test results as shown in the image.
The report provides an overview of all your original and variations of a/b and split tests in GA. It includes experiment metrics such as a total number of visits and unique visits.
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.