The Snippet section under Website settings in Zoho PageSense allows you to install and manage the PageSense tracking code on your
website. Installing this snippet is the first and most important step to
begin collecting visitor behavior data and running optimization
experiments on your site.
Once the snippet is added to your
website, PageSense starts tracking visitor interactions such as clicks,
scrolls, page visits, conversions, and other behavioral metrics. This
data is used across PageSense features including A/B testing, Split URL testing, Personalization, Heatmaps, Funnels, Form Analytics, and Goals.
Installing
the snippet correctly ensures that PageSense can track visitors
consistently and provide accurate analytics and experimentation results
Choose the Right Snippet Type
PageSense provides three types of snippets. Choosing the right one is important for performance and experiment accuracy.
Synchronous Code
Synchronous code loads scripts in sequence from the
<head> section.

Ensures controlled execution order
More stable for certain environments
Slightly impacts page load speed
Best for:
Cases where strict script execution order is required
Example: If your website depends on sequential script loading, synchronous code ensures PageSense runs in the correct order.
Asynchronous Code
Asynchronous code loads alongside other scripts on the page.

Faster loading alongside other resources
Does not block page rendering
May cause flickering in experiments
Best for:
Basic tracking use cases (not recommended for experiments)
Example: Suitable if you only want to track visitor data without running A/B tests or personalization.
Smart Code (Recommended)
Smart Code is the most advanced and recommended snippet type.

Automatically optimizes script loading
Reduces page flickering during experiments
Improves page rendering performance
Ensures smoother A/B testing and personalization
Best for:
A/B Testing, Split URL Testing, Personalization, and overall performance optimization
Example: When running a personalization campaign, Smart Code ensures users directly see the personalized version without a visible flicker from the original page.
Use Smart Code for the best balance of performance, accuracy, and user experience.