You can use Nelio Popups to show a popup based on the visitor. This can be helpful when displaying different popups depending on the state of each visitor.
In this article, you’ll learn how to target visitors to show your popup.
Using Visitor Condition
When you are ready to use the Visitor condition, follow these steps:
- Go to Nelio Popups » All Popups and edit the one you want.
- In the editor sidebar, go to the Settings panel, and open the Conditions tab.
- Add or modify a condition by selecting ‘Visitor’.
The following options are available for a Visitor condition:
- is logged in
- is not logged in
- has role
- has commented
- has viewed a number of pages
- has viewed all selected pages
Let’s review each option.
is logged in
When you want to display a popup for visitors that are logged in your site, select ‘is logged in’ in the condition field.

Then, popups will only be shown to visitors that are logged in.
is not logged in
When you want to display a popup for visitors that are not logged in your site, select ‘is not logged in’ in the condition field.

Then, popups will only be shown to visitors that are not logged in.
has role
When you want to display a popup for visitors that have a particular role in your site, select ‘has role’ in the condition field.

Select the roles in the last field of the setting. The available roles to select are those roles in your WordPress site.
Then, popups will only be shown to visitors that are logged in and have any of the roles set in the settings.
has commented
When you want to display a popup for visitors that have written an amount of comments in your site, select ‘has commented’ in the condition field.

Select the amount of comments in the last field of the setting.
Then, popups will only be shown to visitors after they have commented as many times as you set in the settings.
has viewed a number of pages
When you want to display a popup for visitors that have visited an amount of pages of your site, select ‘has viewed a number of pages’ in the condition field.

Select the amount of pages in the last field of the setting.
Then, popups will only be shown to visitors after they have seen the amount of pages set in the settings.
has viewed all selected pages
When you want to display a popup for visitors that have visited a set of pages of your site, select ‘has viewed all selected pages’ in the condition field.

Select the pages in the last field of the setting.
Then, popups will only be shown to visitors after they have seen all the selected pages set in the settings.
After setting the condition, save the popup and then it will open if the condition is met.