-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
89 lines (69 loc) · 2.4 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
=== Plugin Name ===
Contributors: Heiko_Mamerow
Donate link: https://heikomamerow.de
Tags: exit popup, modal popup
Requires at least: 4.7
Tested up to: 4.7.3
Stable tag: 4.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Display modal window on top of the page before user leave.
== Description ==
Exit pop-up pops up, if a user wants to leave the page. Leaving the page means: moving the mouse to the top of the browser window.
Features:
- Fires ppop-up only one time.
- Fires only for not logged-in users.
- Tracking API
- Design variant
- Time of delay
- Browser version
- Click status:
- Submit button
- Cancel button
- Click on "X" button (top right corner)
- Click somewhere outside the pop-up
- After submit:
- The form will be hidden and a "thank you" text appears
- Popup will be hidden after 3 seconds
- Set the probability with which the pop-up should be used.
- Set delay time after pageload until the exit pop-up is ready.
- Pops up only on predetermined pages.
- Use your own individual stylesheet.
- Set random style variants if you want.
- Web-Performance friendly:
- No rendering blocking
- no heavy code
- asynchronous loading
- Vanilla JavaScript
- compatible to Internet Explorer 9
Note:
This plugin sets an entry in the local storage of the browser to "remember" if the pop-up was fired. In some country's you have to declare that. E.g. in your privacy disclaimer.
== Installation ==
1. Upload `exit-pop-up.php` to the `/wp-content/plugins/` directory.
1. Activate the plugin through the `Plugins` menu in WordPress.
1. Make global configuration trough `Settings` > `Exit pop-up` menu in WordPress.
1. Edit page and apply _Exit pop-up_ in meta box on any page you want.
== Frequently Asked Questions ==
Until now nobody has asked. :-)
== Screenshots ==
![](assets/screenshot-1.png)
Admin page for global configurations.
![](assets/screenshot-2.png)
Meta box for settings per post or page.
![](assets/screenshot-3.png)
Exit pop-up example.
== Changelog ==
= 1.1.0 =
- Tracking possible also when canceling
- Different variants ot the pop-up design can be created and used
- Shuffling between this variants
- More tracking:
- Wich design variant
- Time of delay
- Browser version
- Status (submit vs. canceling)
- After submit:
- The form will be hidden and a "thank you" text appears
- Popup will be hidden after 3 seconds
= 1.0.0 =
- init