Integrate PageSense Identity API via Google Tag Manager

Integrate PageSense Identity API via Google Tag Manager

Session recordings in PageSense use cookies to identify individual visitors' sessions, and track their behavior on your website. This cookie generates a unique name for each visitor session that combines an ‘animal name’ and an ‘adjective’, such as "Hilarious Manatee". However, you can integrate our distinctive Identity API inside the PageSense tracking snippet on your website, if you wish to identify a certain person or event from the list of recordings in your report page.

How to add PageSense Identity API using Google Tag Manager (GTM):

Please go through the steps written below in-detail to help you insert the mentioned script with ease using Google Tag Manager (GTM).

Step 1: Login to your GTM account and open the relevant container.
Step 2: Create a new Data Layer Variable with the label 'IdentityInfo’


Step 3: Click on Triggers to create a new custom event and label it ‘zohoPageSenseEvent’.



Step 4: Click on Tags.

  1. Create a new Custom HTML tag and paste the below code:

<script>

window.pagesense = window.pagesense || [];           

window.pagesense.push(['identifyUser', {{IdentityInfo}} ]);

</script>
  1. Click Triggers -> Select ‘zohoPageSenseEvent’ as your trigger.


Step 5: Click on Save followed by Submit and Publish the changes made.

 

Now, the variable where the data is stored needs to be passed from your website into the GTM Data Layer Variable.

 

Step 6: Kindly add the below mentioned code to your website. Replace ‘xxxx’ with the JS Variable that contains the Identity Information on your end. 
window.dataLayer.push({ 'IdentityInfo': xxxx, 'event':'zohoPageSenseEvent' });


Output:

 

The below attached screenshot is how your Session Recording test report output will look like. Similarly you can view results for Polls and Pop-Ups too.


We hope this documentation is self-explanatory and helps you understand the process with ease. Please feel to reach out to us anytime by dropping a mail to support@zohopagesense.com, in-case you need more explanation or have any queries.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          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
            Redefine the way you work
            with Zoho Workplace

              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 Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Intake FormsLegalMobile App
                              Form DesignerHRMobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsEncrypted Forms

                              Secure Forms

                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now






                                                        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.




                                                            Manage your brands on social media

                                                              Use cases

                                                              Make the most of Zoho Desk with the use cases.

                                                               
                                                                

                                                              eBooks

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

                                                               
                                                                

                                                              Videos

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

                                                               
                                                                

                                                              Webinar

                                                              Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                               
                                                                
                                                              • Desk Community Learning Series


                                                              • Meetups


                                                              • Ask the Experts


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner

                                                                Zoho Sheet Resources

                                                                 

                                                                    Zoho Forms Resources


                                                                      Secure your business
                                                                      communication with Zoho Mail


                                                                      Mail on the move with
                                                                      Zoho Mail mobile application

                                                                        Stay on top of your schedule
                                                                        at all times


                                                                        Carry your calendar with you
                                                                        Anytime, anywhere




                                                                              Zoho Sign Resources

                                                                                Sign, Paperless!

                                                                                Sign and send business documents on the go!

                                                                                Get Started Now




                                                                                        Zoho TeamInbox 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 Google Analytics with Zoho PageSense via Google Tag Manager

                                                                                                                          You can effortlessly integrate Google Analytics (GA) with Zoho PageSense using Google Tag Manager. GTM is a free tool that allows you to quickly add and update your code (tags) on your website without having to manually write a single line of code. ...
                                                                                                                        • Integrate using Google Tag Manager

                                                                                                                          After setting up with integration, a tag with the PageSense code snippet will be created in your Google Tag Manager workspace. Submitting this workspace change will add the PageSense code snippet to your the website pages. To integrate with Pagesense ...
                                                                                                                        • Install the PageSense snippet using Tag Manager

                                                                                                                          If you're using Google Tag Manager (GTM) to integrate with Zoho PageSense, you can use the PageSense tag available in the tag list to quickly install the snippet on your website instead of manually adding them every time. Once you add the tag, you ...
                                                                                                                        • Integrate Google Ads with Zoho PageSense

                                                                                                                          By integrating PageSense with Google Ads, you can easily track which Google ad campaigns you ran on your website or landing page brought in the most clicks, impressions, and conversions for your business, in addition to key metrics like cost per ...
                                                                                                                        • Integrate Google Analytics 4 with Zoho PageSense via Google Tag Manager

                                                                                                                          Seamlessly integrate Google Analytics (GA04) with Zoho PageSense using Google Tag Manager (GTM). With GTM, you can effortlessly include and modify your code (tags) on your website without the need for manual coding. GTM is also a free tool, making ...
                                                                                                                          Wherever you are is as good as
                                                                                                                          your workplace

                                                                                                                            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