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

Manually install the tracking code on your website

To start tracking visitor behavior and use PageSense features on your website, you need to install the Tracking Code provided for your PageSense project. The Tracking Code connects your website with PageSense and enables PageSense to collect visitor data required for analytics, heatmaps, session recordings, goals, funnels, and experimentation.
NotesNote: You need to install the Tracking Code only once for a website. Once installed, the same Tracking Code can support the PageSense features enabled for your project.

Before you begin

Make sure you have:
  • Access to your website's HTML source code.
  • Permission to edit the <head> section of your website.
  • Access to the correct PageSense project.
  • The website you want to connect added to the corresponding PageSense project.
Each PageSense project has its own unique Tracking Code. Make sure you copy the code from the project you want to connect with your website. 

Access the Tracking code

  1. Log in to your Zoho PageSense account
  2. Navigate to Settings
  3. Go to Settings > Website > Tracking Code.

     
         4. Copy the Tracking Code displayed for your project



The Tracking code connects your website to PageSense and allows PageSense to track visitor interactions and collect data from your website. Once installed, the same Tracking Code supports PageSense features such as A/B Testing, Split URL Testing, Personalization, Heatmaps, Session Recording, Funnels, Form Analytics, Goals, and other website analytics features.

Add the Tracking Code to your website

After copying the Tracking Code, add it to the HTML source code of your website.


  1. Open your website's HTML source code.
  2. Locate the <head> section.
  3. Paste the Tracking Code inside the <head> section.
  4. Save your changes.
  5. Publish the updated website.
Adding the Tracking Code to the <head> section allows PageSense to load the code when visitors access your website and ensures that visitor activity can be captured across the pages where the code is installed.
NotesNote: Do not modify, remove, or alter the Tracking Code provided by PageSense. Changes to the code may prevent PageSense from tracking visitor activity correctly.

Install the Tracking Code on all required pages

For PageSense to track visitor activity across your website, make sure the Tracking Code is available on all the pages where you want to use PageSense features. If your website uses a common header or template, adding the Tracking Code to that shared section can make it available across multiple pages. For websites built using a content management system or website builder, follow the platform's method for adding custom code to the website header.

Verify the Tracking Code installation

After installing the Tracking Code, you can verify whether PageSense can detect it on your website.

  1. Enter the URL of the webpage where you installed the Tracking Code.
  2. Click Verify.
PageSense checks the webpage and displays the installation status.

Successful installation

If the Tracking Code is detected successfully, PageSense displays a confirmation indicating that the code has been installed correctly. You can then start using PageSense features that require website tracking.


Installation error


If PageSense cannot detect the Tracking Code, check whether:
  • You copied the Tracking Code from the correct PageSense project.
  • The complete code was added to your website.
  • The code was added inside the <head> section.
  • The changes were saved and published.
  • The Tracking Code has not been modified.
  • The Tracking Code has not been added more than once to the same page.
If you have recently added or updated the code, publish the website changes and try the verification again.

Verify the Tracking Code manually

If the verification option does not detect the Tracking Code, you can check whether the code is loading on your website manually.


  1. Copy your Project Key from PageSense.
  2. Open the webpage where you installed the Tracking Code.
  3. Right-click the webpage and select Inspect.
  4. Open the Network tab in the browser developer tools.
  5. Enter your Project Key in the Network filter.
  6. Refresh the webpage.
  7. Check whether PageSense requests associated with your Project Key appear in the Network activity.
If the relevant request appears, the Tracking Code is loading on the webpage.
NotesNote: Browser extensions, content blockers, privacy settings, or network restrictions can sometimes prevent tracking requests from appearing as expected.

Install the Tracking Code using Google Tag Manager

You can also install the Tracking Code using Google Tag Manager (GTM) instead of adding it directly to your website's code.
For detailed steps, refer to Install the Tracking Code using Google Tag Manager.



PageSense may use cookies and other technologies to collect visitor activity and maintain visitor sessions.
Depending on your website, region, and applicable privacy requirements, you may need to obtain visitor consent before tracking or storing certain information. You can configure the relevant privacy options from Settings > Content and Privacy, including the Cookie policy banner and other available privacy controls.Make sure your PageSense configuration aligns with your organization's privacy policy and applicable regulations.







We’ve designed this documentation to guide you every step of the way. If you need further assistance or have any questions, don’t hesitate to contact us at support@zohopagesense.com - we’re always here to help!