Documentation

All the information you need in one place

How to Open a Popup on Visitor Conditions

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:

  1. Go to Nelio Popups » All Popups and edit the one you want.
  2. In the editor sidebar, go to the Settings panel, and open the Conditions tab.
  3. 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.

Popup with a visitor condition set to 'is logged in'.
Popup with a visitor condition set to ‘is logged in’.

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.

Popup with a visitor condition set to 'is not logged in'.
Popup with a visitor condition set to ‘is not logged in’.

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.

Popup with a visitor condition set to 'has role'.
Popup with a visitor condition set to ‘has role’.

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.

Popup with a visitor condition set to 'has commented'.
Popup with a visitor condition set to ‘has commented’.

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.

Popup with a visitor condition set to 'has viewed a number of pages'.
Popup with a visitor condition set to ‘has viewed a number of pages’.

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.

Popup with a visitor condition set to 'has viewed all selected pages'.
Popup with a visitor condition set to ‘has viewed all selected pages’.

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.

Person writing a new WordPress post on a MacBook

Looking for popups?

We have the best plugin to create popups for WordPress in minutes.

Request Customized Enterprise Pricing

10
200000

With your express consent, we handle the information provided for the purpose of contacting you and until you ask us to delete it.

70% OF YOUR VISITORS DO EXACTLY WHAT
YOU JUST DID AND NEVER COME BACK!

KEEP THEM
ON YOUR SITE
LONGER WITH
NELIO POPUPS

Claim Your Discount Now

Image with a 10%-off coupon

WAIT! BEFORE YOU GO...

Get this awesome discount now!

No, I don't want to save money

Image with a 10%-off coupon

WAIT! BEFORE YOU GO...

Get this awesome discount now!

No, I don't want to save money

YOUR COOKIE SETTINGS


This site uses proprietary operational cookies that have a purely functional purpose and third-party cookies that help us understand how visitors interact with the site by collecting and presenting information anonymously. To get more information about these cookies and the processing of your personal data, check our Privacy & Cookie Policy. Do you accept these cookies and the processing of personal data involved?


If you don’t, you can reject non-operational cookies and continue browsing this site by clicking here.