Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

Integrate Google Analytics 04 with Zoho PageSense

Why do you need Google Analytics 04 with PageSense?

The integration of Google Analytics 4 (GA4) with Zoho PageSense is designed to help businesses optimize their website and marketing efforts by providing a more comprehensive view of their data. By sending the data of A/B, or Split URL test from Zoho PageSense to Google Analytics 04, you can meticulously analyze and make data-driven decisions. The data collected will be pushed in real-time to ensure that customers always receive results instantaneously. You can now combine the data collected from PageSense and GA4 for more precise and significant findings to help you make informed choices on your website.

GA4 code placement:

Ensure you've added the Google Analytics 04 (GA4) global snippet and Zoho PageSense's code snippet in the pages you want to track. Once in place, they will automatically run on all your experiments. This integration can be exclusively used with both A/B and Split URL test experiments in PageSense.

1. Enter GA04 Admin and select Data collection and modification. Select Data streams.



2. Select the stream (domain) of your choice and select View tag instructions.


3. Under Installation instructions select Install manually and copy the displayed code.

How to set up Google Analytics:

PageSense snippet should be placed above the GA04 script.
Customers should to add the below mentioned codes into their website.

Adding the code into GA's tracking script:

While using gtag.js global snippet, copy the following line of code and paste it right under gtag ('config','UA-XXXXXXXX-X') of your website as shown below:

'custom_map': {'dimension': 'zoho'}
});
window.$pagesense.$(document).ready(function(event) {
window.ZAB.GAIntegFunc();
});

Before adding the code:

<!-- Google tag (gtag.js) -->
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-XXXXXXXXX');
</script>

After adding the code:

<!-- Google tag (gtag.js) -->
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXX',{
'custom_map': {'dimension': 'zoho'}
});
window.$pagesense.$(document).ready(function(event) {
window.ZAB.GAIntegFunc();
});
</script>

How to enable GA4 in PageSense:

1. Once you enter PageSense, click on Integrations from the top right pane. Enable Google Analytics.


2. Open the experiment (A/B or Split URL test) which you'd like to integrate with Google Analytics.
3. Click on Configurations and under Add Integrations, enable Google Analytics.
The default Custom Dimension value will be "1".



4. Set up your experiment with the required configuration and launch it.

How to view reports in GA4:

You can view the data after 24-hours under Events, inside the GA04. However, you can view immediate data population under GA04 real-time tab.
1. Login to your GA04 account, click on Engagement -> Events.
2. You can view a summary of your test results as shown below.



This report provides an overview of all the original and variation of both A/B and Split URL Tests created inside GA04.

We hope this documentation helped make the process easy for you. Please feel free to reach out to us anytime by dropping an email to support@zohopagesense.com if you need more explanation or have any questions.

Helpful?00
Updated: 7 months ago
Share :
  • Redefine the way you work
    with Zoho Workplace