CM Pop-Up Banners (CMPB) - Creating Banner Triggers
Creating Banner Triggers
CM Pop-Up Banners plugin allows admin to create Pop-Up Banner that displays banner not at once but after some action like element click and hover, some time inactive or page leave intent.
To create this navigate to the Admin Dashboard → Pop-Up Banners for WordPress → Add New Campaign.
The process is almost the same as shown on this page. To create the trigger for Pop-Up Banner scroll down to the Campaign Options and in the Activity tab find When fire the popup.
Choose when Pop-Up should be fired. When selecting click/hover you must also create this element with class on a page.
To do that simply copyclass and put it on the selected page.
(default) The popup will show up after the page has been loaded, after the delay set in Delay to show (Visual Tab).
The popup will fire after the element with the right class being clicked, you need to add the cm-pop-up-banners-trigger HTML class to this element.
The modal will appear when the user stops the mouse movements and typing for X seconds. The input allowing to put the number will appear after this option is selected.
After Inactive for X seconds
The modal will appear after X seconds of inactivity - when the user doesn't move the cursor or doesn't push the keyboard keys.
On page leave intent
The modal will appear when the cursor moves towards the top of the page (either to close the tab or the browser). It won't detect the keyboard shortcuts.