How to integrate Mixpanel with Zoho PageSense | Help guide

Integrate Mixpanel with Zoho PageSense

If you are using Mixpanel to monitor your website's traffic and get more visibility on how customers interact with your site pages, then integrating with PageSense can help you extract powerful insights about your A/B and Split URL experiment data. This integration lets you automatically push all your A/B and Split URL experiment data into Mixpanel reports and collect detailed data about all the visitor actions on your site for each experiment variation. 

Enabling this integration is a two-step process:
  1. Toggle the Mixpanel integration on in PageSense.You can toggle the integration on for your entire project or for an individual experiment.
  2. Ensure that the Mixpanel snippet is installed on the pages you'd like to track. 
Key benefits of this integration include:
  • Connect your experiment results to key business metrics you already track using Mixpanel

  • Streamline workflows and make precise decisions for different business processes using your familiar Mixpanel dashboard

  • Identify key trends and user behavior on your experiment pages using Mixpanel

  • Uncover new insights about your experiments using Mixpanel's range of functions.

To integrate Mixpanel with Zoho PageSense:

Note: To enable this integration, you need to ensure that the Zoho PageSense tracking code is added to your experiment website. Remember to launch the A/B and Split URL experiments you want to track data for in PageSense. Learnhow to install the PageSense code snippet on your website.1. Open the project that you want to integrate with Mixpanel in Zoho PageSense.

2.
 
Click the Integrations tab on the top pane, enable the Mixpanel button, and click Continue.



3.
 
Select the A/B (or Split URL) experiment you want to view reports for in Mixpanel.

4.
 
Navigate to the CONFIGURATION tab, click Add Integrations section, and enable the Mixpanel integration. 



5.
 
Log in to your Mixpanel account, click the My new project dropdown menu in the top-left corner, enter a project name for your project, then click Create.



6. Click the Set up Mixpanel button in the top-right and you will be taken to the Get Started page. 



7. Copy the code snippet from the Install our library section as shown in the screenshot.



8. Go back to the website where you have set up the A/B (or Split URL ) experiment and paste the copied Mixpanel code (in the step above) under the Zoho PageSense code snippet.

9. Paste the following line of code underneath the code you pasted in the previous step:
<script>window.ZAB.MXIntegFunc();</script>

The entire Javascript script should look something like this:

<<script src="https://cdn.pagesense.io/js/XXXXX/*********************.js"/><script>

<!-- start Mixpanel --><script type="text/javascript">(function(e,a){if(!a.__SV){var b=window;try{var c,l,i,j=b.location,g=j.hash;c=function(a,b){return(l=a.match(RegExp(b+"=([^&]*)")))?l[1]:null};g&&c(g,"state")&&(i=JSON.parse(decodeURIComponent(c(g,"state"))),"mpeditor"===i.action&&(b.sessionStorage.setItem("_mpcehash",g),history.replaceState(i.desiredHash||"",e.title,j.pathname+j.search)))}catch(m){}var k,h;window.mixpanel=a;a._i=[];a.init=function(b,c,f){function e(b,a){var c=a.split(".");2==c.length&&(b=b[c[0]],a=c[1]);b[a]=function(){b.push([a].concat(Array.prototype.slice.call(arguments,

0)))}}var d=a;"undefined"!==typeof f?d=a[f]=[]:f="mixpanel";d.people=d.people||[];d.toString=function(b){var a="mixpanel";"mixpanel"!==f&&(a+="."+f);b||(a+=" (stub)");return a};d.people.toString=function(){return d.toString(1)+".people (stub)"};k="disable time_event track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config reset people.set people.set_once people.increment people.append people.union people.track_charge people.clear_charges people.delete_user".split(" ");

for(h=0;h<k.length;h++)e(d,k[h]);a._i.push([b,c,f])};a.__SV=1.2;b=e.createElement("script");b.type="text/javascript";b.async=!0;b.src="undefined"!==typeof MIXPANEL_CUSTOM_LIB_URL?MIXPANEL_CUSTOM_LIB_URL:"file:"===e.location.protocol&&"//http://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js%22.match(/%5E/////)?%22https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js%22:%22//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js%22;c=e.getElementsByTagName(%22script%22)[0];c.parentNode.insertBefore(b,c)}})(document,window.mixpanel||[]);

mixpanel.init("XX000");</script><!-- end Mixpanel -->

<script>window.ZAB.MXIntegFunc();</script>

10. The experiment name and the variation names will now be sent to Mixpanel and the data will flow into Mixpanel instantly. 

To view your experiment reports in Mixpanel:

1. Click the Analysis button on the top pane and choose the type of report you want to view like Insights, Funnels, Flows, or others.
For example, to get real-time insights into visitors' actions and behavior for different variations, click Insights, navigate to BREAKDOWNS, choose Select property and then select the EVENT option.


2. Select the name of the A/B experiment created in PageSense you want to view reports for from the list.  
You can also customize and view your experiment data by a specific date range and select from different chart types available in the Mixpanel report. 
Learn more about how to interpret reports in Mixpanel.



    Zoho DataPrep Personalized Demo

    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.

    Zoho CRM Training

      Create, share, and deliver

      beautiful slides from anywhere.

      Get Started Now





              Zoho CRM Training Programs

              Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

              Zoho CRM Training


                  Zoho TeamInbox Resources




                            Zoho DataPrep Resources

                              Zoho DataPrep Demo

                              Get a personalized demo or POC

                              REGISTER NOW


                                Design. Discuss. Deliver.

                                Create visually engaging stories with Zoho Show.

                                Get Started Now











                                                      • Related Articles

                                                      • Integrate Kissmetrics with Zoho PageSense

                                                        With the Kissmetrics integration, you can track web metrics for each variation in your Zoho PageSense experiment. To enable the integration, add the Kissmetrics integration code snippet in the pages you want to track. After you set it up once, it ...
                                                      • Install the PageSense code snippet on Unbounce

                                                        If you're using Unbounce to design and publish your landing pages, you can add the PageSense snippet code to your Unbounce pages and campaigns with a few simple clicks to track, analyz,e and optimize your web pages for better conversions. Once you ...
                                                      • Install the PageSense code snippet on Prestashop

                                                        Zoho PageSense is a software used for website testing and optimization that lets you measure your key website metrics, understand your visitors' online behavior, and give them a personalized website experience to boost conversions. To use PageSense ...
                                                      • Install the PageSense code snippet on Squarespace

                                                        Squarespace is a website building platform that helps you to build creative websites using its amazing drag and drop editor and showcase your work online.  This guide helps you with few simple steps to add the PageSense snippet code on your ...
                                                      • Install the PageSense code snippet on Shopify

                                                        If you are using Shopify, an eCommerce platform used to set up your online store and sell products worldwide, then you can effortlessly add the PageSense snippet code on your Shopify websites and start tracking visitor data with a few simple clicks, ...

                                                      Resources

                                                      Videos

                                                      Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                      eBooks

                                                      Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                      Webinars

                                                      Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                      CRM Tips

                                                      Make the most of Zoho CRM with these useful tips.



                                                        Zoho Show Resources