MARKETPLACE
PLUGINS
PAGE CLOSE DETECTOR
Page Close Detector logo

Page Close Detector

Published August 2019
   •    Updated this month

Plugin details

Detect when a user is about to close the browser tab or navigate away. Trigger workflows to save data, show confirmation popups, or perform updates before the page unloads.
   

⚡ Key Features:

🚪 Page Close & Navigation Detection
       Detect when a user is about to close the tab or navigate away from the current page.
⚡ Two Event Triggers
       "Before Page Unloads" and "Page Unload Started" for precise workflow control.
💾 Save Data Before Exit
       Trigger workflows to save data, log activity, or perform essential updates before the page closes.
⚠️ Exit Confirmation Popup
       Optionally display a browser confirmation popup to prevent accidental exits.



FAQ

What events does this plugin support?
The plugin supports two main events: "Before Page Unloads" and "Page Unload Started." These events can trigger workflows to perform specific actions before the user leaves the page.

Can I prevent a user from closing the page?
Yes, you can set a confirmation popup to appear when a user attempts to close the page. This popup asks the user if they are sure about leaving, reducing accidental exits.

Can I save data before the page closes?
Yes, you can trigger workflows to save data to your database before the page unloads. Use the "Before Page Unloads" event for this purpose.

Is it possible to customize the confirmation popup message?
The confirmation popup message is controlled by the browser, and customization options are limited due to security reasons.

How can I use the events in a workflow?
Add the "Close Page Detection" element to your page and configure workflows using the available events, such as saving data or logging user activity before the page unloads.




Our Similar Plugins

- On Screen Detector Plugin for Bubble
- CleanTalk Spam Detector Plugin for Bubble
- Idle Detector #inactivitytrackuser Plugin for Bubble




Support

If you still have questions or unresolved issues, you can contact us.


Risk-free Trial

The most risk-free way to try out this plugin is to subscribe to it. If you unsubscribe a few days later you will be charged on pro-rata basis, so for example if the plugin monthly price is $5 then you'd pay only 17¢ per day ($5/30 days)!

$40

One time  •  Or  $4/mo

4.3 stars   •   3 ratings
300 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

Zeroqode - Top Bubble Agency logo
Zeroqode - Top Bubble Agency
Joined 2016   •   871 Plugins
View contributor profile

Instructions

There are 2 Events supported on this Plugin: 1)  Before Page Unloads
2)  Page Unload Started

The "Before Page Unloads" Event gets triggered when when a window is about to unload its resources.

The "Page Unload Started" gets triggered when a window is in the process of unloading its resources.

Types

This plugin can be found under the following types:
Background Services   •   Element   •   Event

Categories

This plugin can be found under the following categories:
Technical   •   Web Scraping   •   Productivity   •   Data (things)   •   Containers   •   Visual Elements

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (4.3)

Useful Plugin
October 7th, 2024
Detecting when users close or leave a page is a breeze with this plugin
Hello, Anton from the Zeroqode Support Team here. We greatly appreciate your positive feedback and are glad to know that our plugin has met your expectations. Your satisfaction is our greatest reward. If there’s anything more we can do for you, don’t hesitate to get in touch through our forum (https://forum.zeroqode.com/) or directly at support@zeroqode.com. Thank you once again for choosing Zeroqode. Best regards, Anton
October 9th, 2024
  •  
Zeroqode - Top Bubble Agency
Perfect
December 2nd, 2023
Works perfectly. Unload started event was the missing piece for my app's undo UX. Thanks!
"Page Unload Started" WF doesn't work, but the rest is find
May 17th, 2023
If I don't know how to use it but it's working just tell me I will change the review
Bubble