How to install the Zoho PageSense snippet code in a website | Help Guide.

Manually install the code snippet on your website

To run a test and track visitor data on your website, the first thing that you need to do is install the PageSense snippet code to all of your experiment pages. Adding the snippet code to your website is a one-time process, and does not require modifications every time to run multiple experiments. Note that each project in your space will have a unique code. To complete this installation process, you must have access to your website source HTML code.

To add the PageSense code snippet to your website:
1. Go to your Project and click the Snippet button on the top bar.



2.
 Click Copy to
 choose the type of code snippet you want to insert on your web page. 
Zoho PageSense provides two types of code snippets:
  • Synchronous code: The scripts are loaded and executed sequentially starting with the <head> tag on a website.

  • Asynchronous code: The scripts are loaded and executed simultaneously alongside other functions on a website. It is better to avoid using an asynchronous code for A/B testing, Split URL testing and Personalization experiments in PageSense, because this type of script is executed simultaneously on a web page, which means there is a possibility of page flickering from the original page to the variation page.


Note: 
  1. You can send code to an email address by clicking Send via email.    
  2. You can also install your code snippet through Google Tag Manager, Prestashop, Intercom, and other services.         
3. Paste the copied code snippet within the  <head> tag of your website HTML script. You may need your Developers help to do this.
Here's how the PageSense snippet code might look like on your web page script.
Note:
  • Adding the PageSense code snippet to your website is a one-time process. This code will be automatically updated for all experiments within a project.  

  • Multiple tests can be performed with the same code snippet installed on your web page. However, the code snippet will be unique for each project in PageSense.

  • We recommend adding the code snippet to all the experiment pages of your website. 

  • If you want to run an experiment from a different PageSense user account, the existing code snippet needs to be removed from your website pages, and replaced with the new code generated from the current PageSense account because the code snippet for each project is unique. 

 4. To verify the code installation, enter the web page URL in which you added the code snippet inside the URL section, then click Verify. 


You will see the success message with a green tick mark on a new browser window.


If you see an error message in red, it could be due to any of the following reasons:
  • You've pasted a different code snippet on your webpage's HTML code

  • There are typographical mistakes in the code

  • Your web page takes a longer time to load than usual.

Note that the verification message will not show up in your browser window, if your web page loads for more than 10 seconds. However, in such instances, the PageSense code snippet status will be successful at the back-end and be ready to track visitors' data on your website.

To manually verify the presence of the code on your site:
1. Click the Project Settings on the top bar, go to  Project Info tab and copy the Project Key given on the page.

2. Open your website on a browser, right-click on the page and choose Inspect from the menu.

3. Now, click the Network tab and paste the Project key within the Filters textbox as shown in the figure.



    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      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 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

                                                                                                              • 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, ...
                                                                                                              • Install the PageSense code snippet on Zoho Sites

                                                                                                                If you are using Zoho Sites, a free website builder to create visually appealing websites, then you can easily add the Zoho PageSense code snippet on your Sites websites and start tracking visitor data in a few simple clicks, without the need to ...
                                                                                                              • Install the PageSense code snippet on Instapage

                                                                                                                Instapage helps you turn clicks into customers by optimizing your landing pages. Like other website building softwares(such as Wix, Shopify, and Zoho Sites), the PageSense snippet code can be added to Instapage websites without the need to install ...
                                                                                                              • Install the PageSense code snippet on Wix

                                                                                                                If you're using Wix, cloud-based software to build and customize your online business website, you can add the PageSense snippet code on your Wix sites to start quickly start tracking and understanding all of your website data with ease. This ...
                                                                                                              • Install the Zoho PageSense snippet code on your website

                                                                                                                To run experiments and track your visitor data, you will need to install the Zoho PageSense snippet code to the experiment pages on your website. No other information is collected or communicated by the extension. Adding the snippet code to your ...
                                                                                                                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