Available with Extra Shortcodes add-on.

This shortcode allows you to display exit popup.

Move your cursor to the tabs bar of your browser to open exit popup

Hey, wait! Don’t go away.
[su_exit_popup style="dark-boxed" onclick="close"]Hey, wait! Don't go away.[/su_exit_popup]
Option name Possible values Default value
style
Choose exit popup style
dark (Dark)
dark-boxed (Dark boxed)
light (Light)
light-boxed (Light boxed)
blue-boxed (Blue boxed)
light-boxed-blue (Light boxed blue)
light-boxed-green (Light boxed green)
light-boxed-orange (Light boxed orange)
maintenance (Maintenance)
dark
width
Width of exit popup content
Number from 100 to 1600 480
opacity
Background opacity in percents
Number from 0 to 100 80
onclick
Choose exit popup behavior when it is clicked
none (Do nothing)
close (Close exit popup (click anywhere))
close-bg (Close on background click)
url (Go to specified url)
close-bg
url
Enter url to go when exit popup is clicked (this option must selected in dropdown list above)
Any text value http://su.dev
esc
Close popup by pressing Esc
yes or no yes
close
Show Close button
yes or no yes
once
Show this exit popup only once on this page
yes or no no
class
Additional CSS class name(s) separated by space(s)
CSS class name(s) separated by space(s)

none