Chrome is phasing out the browser unload event. Without the Use visibility API instead of unload event setting, the Pendo web SDK relies on that event to send the last batch of data when a visitor leaves a page. Applications created since September 2023 have this setting on by default, and in November 2026 Pendo turned it on for all other web and extension applications, including any where it had been turned off. If the setting is off for one of your applications, turn it on so that Pendo keeps collecting complete data in Chrome.
What changes in Chrome
The Pendo web SDK batches events in the browser and sends them on a timer: guide events about 500 ms after they happen, and click, focus, change, and Track Events up to every 2 minutes. When a visitor closes the tab or navigates to another page, the SDK sends whatever hasn't been sent yet. With the setting off, the SDK triggers that final send from the unload event.
Chrome is disabling the unload event in stages, so a growing share of page loads no longer fire it. On those page loads, events that haven't been sent yet are lost. You might notice:
- Fewer clicks and guide events than expected, especially on buttons that navigate to another page.
- Multi-step guides in iframes that don't show the next step.
- Replays that show long periods of inactivity or cut off early, even though the visitor was active.
- The browser console message
Permissions policy violation: unload is not allowed in this document.
Other browsers aren't affected yet. Applications with the Use visibility API instead of unload event setting on aren't affected.
Turn on the visibility API setting
With this setting on, the web SDK sends unsent events when the page is hidden instead of when it unloads. You must be a subscription admin or an App Admin for the application.
- Go to Settings > Subscription settings and open the Applications tab.
- Open the application and, in the App Details tab, find Engineer settings.
- Turn on Use visibility API instead of unload event.
Repeat this for each web application in your subscription. The change takes effect the next time the web SDK loads; you don't need to change your install script or redeploy your application. The exception is an install script that sets preventUnloadListener: false in its pendo.initialize options: that value overrides the application setting, so remove it.
If you self-host the web SDK, download a new copy from Web SDK Settings after the setting is turned on, whether you or Pendo turned it on. You can also add preventUnloadListener: true to the pendo.initialize options in your install script. For more information, see Self-hosting the Pendo Web SDK.
Note: With this setting on, some browsers don't keep the page in the back-forward cache, so navigating with the browser's back and forward buttons can be slightly slower. The setting doesn't work on legacy browsers that lack the page visibility API.
Check which setting your application uses
Open the application's settings as described above and look at the Use visibility API instead of unload event checkbox. If you self-host the web SDK, you can also look for preventUnloadListener in your downloaded pendo.js file: true means the setting is on.