The Website section in Zoho PageSense allows you to configure settings related to how PageSense connects with and interacts with your website. This includes installing the tracking snippet, enabling browser notifications, and managing how visitors can subscribe to updates.
These configurations help ensure that PageSense can track visitor behavior, run experiments, collect insights, and communicate with users directly through notifications.
The Website settings typically include the following sections :
Each section plays an important role in enabling PageSense to track visitor activity and improve engagement with your users.
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.
Note: The Settings icon is located in the top-right corner of your PageSense interface. From there, navigate to Website → Snippet to access the code snippet for your project.Once the snippet is installed, PageSense begins tracking visitor interactions using cookies. These cookies help identify returning visitors and maintain session continuity for experiments and analytics.
To ensure transparency and comply with privacy regulations, it is recommended to display a cookie consent banner on your website informing visitors about the use of cookies.
For configuring cookie consent and privacy settings, refer to the Content and Privacy Settings help document.
If your website uses Google Tag Manager (GTM) to manage scripts, you can install the PageSense snippet through GTM instead of adding the code directly to your website.
Refer to the PageSense GTM integration guide for detailed instructions on configuring the snippet through Tag Manager.
<head> tag of your website pages.After installing the snippet, you can confirm that PageSense is properly connected to your website using the Verify Installation option.
Enter your website URL to check if the snippet is successfully detected on the page.
Example : https://zylkerautomation.zohoecommerce.com/
The Web Push Notifications section in Zoho PageSense allows you to enable browser notifications so visitors can subscribe and receive updates directly from your website. These notifications help businesses re-engage visitors by sending alerts about new content, offers, product updates, or announcements—even when the visitor is not actively browsing the website.
Note: The Settings icon is located in the top-right corner of your PageSense interface. Navigate to Website → Web Push Notifications to configure notification subscription settings.To start collecting subscribers, you must first enable the option that allows visitors to subscribe to notifications from your website. Once enabled, PageSense will display a subscription prompt asking visitors to grant permission for notifications.
After a visitor subscribes, they can receive browser notifications sent from your PageSense campaigns.
PageSense offers multiple opt-in approaches for collecting subscriber permissions. Each method provides a different user experience and can be selected depending on how you want to present the notification request.
The One-Step Opt-In method displays the browser’s native notification permission prompt directly to visitors. When a user lands on your website, the browser asks whether they want to allow notifications.
This option allows visitors to subscribe quickly using the browser permission dialog.
This method is suitable when:
You can configure when the permission prompt appears, such as immediately when a visitor lands on the page or after a short delay.
To enable push notifications, a service worker file must be present in the root directory of your website.
If the file does not exist, create a file named:
service-worker.js
Place this file in the root directory of your website and ensure that it is publicly accessible. This file enables browsers to deliver notifications even when the user is not actively browsing the site.
The Child Window setting displays the opt-in prompt inside a secondary window that opens within the browser. This window behaves as an extension of the main page and supports all available buttons and configuration options.
After configuring your custom opt-in trigger, PageSense also allows you to preview how the notification subscription prompt will appear to visitors.
You can switch between Web and Mobile preview modes to see how the opt-in button or link behaves across different devices. This helps ensure that the subscription prompt appears correctly and provides a consistent experience for both desktop and mobile users before publishing it on your website.
The Custom Opt-In option allows you to trigger the notification subscription prompt through specific visitor actions rather than automatically displaying it.
This method is useful when you want to request notification permissions only after the visitor has interacted with your website.
Displaying the prompt after a user clicks a Subscribe button
Triggering the prompt after completing a form submission
Showing the prompt on specific landing pages
Requesting notification permission after a visitor spends time on the site
Custom opt-ins give you greater control over when and how the notification request appears.
You can add a custom button on your website to trigger the notification prompt.
Example:
- <button onclick="window.pagesense=window.pagesense||[]; window.pagesense.push(['optInForPushNotification']);">
- GET NOTIFICATIONS
- </button>
When visitors click this button, the browser subscription prompt will appear.
You can also trigger the subscription request using a link.
Example:
- <a onclick="window.pagesense=window.pagesense||[]; window.pagesense.push(['optInForPushNotification'])">
- GET NOTIFICATIONS
- </a>
This allows you to integrate notification subscription requests into links, menus, or other interactive elements on your website.