Documentation

All the information you need in one place

How to Open a Popup on Date Conditions

You can use Nelio Popups to show a popup to visitors on a specific date. This can be helpful when displaying popups for a limited period of time, like during a holiday promotion.

In this article, you’ll learn how to target date periods to show your popup.

Using Date Condition

When you are ready to use the Date 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 ‘Date’.

The following options are available for a Date condition:

  • greater than
  • less than
  • between

Let’s review each option.

Greater than

When you want to schedule the display of a popup after a date, select ‘greater than’ in the condition field.

Popup with a date condition set.
Popup with a date condition set to ‘greater than’.

Then, set the start date from which the popup will be displayed, using the third field in the settings.

Less than

When you want to schedule the display of a popup before a date, select ‘less than’ in the condition field.

Popup with a date condition set to 'less than'.
Popup with a date condition set to ‘less than’.

Then, set the end date until which the popup will be displayed, using the third field in the settings.

Between

Finally, you can set a date period in which the popup will be displayed. To do so, select the ‘between’ option in the condition field.

Popup with a date condition set to 'between'.
Popup with a date condition set to ‘between’.

Then, set the start and end date for the period in which the popup will be displayed, using the two date fields in the settings.


After setting the condition, save the popup and then it will open if the condition is met.