Casper’s Leave Notice warns your users when they are about to leave your website. All you have to do is install and activate, and the plugin does the rest! You can edit the content that shows up in the pop up window to fine tune the message your users see. You can also add domain names to exclude from the pop up.
For example, if a link sends your users to a third party tool – like a shopping cart – just add the domain to the exclusion list and your guests will be none the wiser.
- Download the plugin here
- Upload it to your WordPress Plugins folder
- Activate it through the WordPress Dashboard Plugin page
- Log in to your WordPress Dashboard
- Go to Plugins -> Add New
- Search for Casper’s Leave Notice
- Install and activate.
How to Change the Content of the Pop Up
- Go to Settings -> External Links
- Write the content you want. You can edit the Title and/or the Body. Save!
How to Add Exceptions to the Pop Up
- Go to Settings -> External Links
- Click on the Exceptions tag
- Add any external domains you want to exclude from this warning. Separate them by commas. Save!
It’s that simple.
- Is there any way to change the style of the pop up?
We are looking into adding styling and/or themes. If you have any design ideas, please reach out at @SirCaseyJames on Twitter, or leave a message here on the WordPress Support forums. In the meantime, you can add your own custom styling through CSS.
- I added a domain to the exclusion list; why is the pop up still showing up?
There could be several reasons. Be sure to first try clearing your browser and site cache. If it still does not take affect, please check what you entered into the text area. Domains must be separated by commas (i.e. ‘domain.com, test.com’). You must also use the most minimal amount of the domain to have the widest effect. For example, if you type in www.domain.com, anywhere that links to domain.com will not be excluded. Conversely, however, if you just type in domain.com, www.domain.com will be excluded. As such, it’s best to use as little as possible in the exclusion list.
If the problem persists, please submit an issue through the WordPress support forms.
- Why is the pop up working on some links, but not others?
While rare, some themes may have markup that is incompatible with Casper’s Leave Notice. I’m happy to remedy this — just open up a support ticket with a link to your site and I’ll release a patch.
- Are there any known conflicts?
Contributors & Developers
“Casper’s Leave Notice” is open source software. The following people have contributed to this plugin.Contributors
Translate “Casper’s Leave Notice” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Fixed issue where the popup wasn’t working in Internet Explorer
- Fixed issue where the plugin would not work when elements were nested inside of the anchor element
- Fixed bug where the auto-redirect was still redirecting even when a user hit cancel
- Fixed bug where auto-redirect time setting was not saving
- Deleting the plugin now also cleans the db of the new option introduced in v1.2
- Added a feature that allows you to automatically redirect users to the URL after a certain time passes
- Now fully responsive
- UX improvements: pop up notice now closes when you go to the link in question; also closes on Esc
- Performance improvements: reducing the amount of memory usage by using more specific event handlers
- Fixed some debug errors when no Exclusions were set
- Plugin is live!