---
title: "How to trigger a Popup after a Certain Number of Page Views in WordPress?"
url: https://nexterwp.com/docs/popup-on-page-views-in-wordpress/
date: 2023-02-06
modified: 2026-09-14
lang: en
author: "Aditya Sharma"
description: "Someone on their fourth page is browsing properly; someone on their first has barely arrived. After X Page Views waits until a visitor has seen a number of pages before..."
image: https://nexterwp.com/wp-content/uploads/2024/05/popup-on-page-views-in-wordpress-1024x519.jpg
word_count: 398
---

# How to trigger a Popup after a Certain Number of Page Views in WordPress?

## Key Takeaways

- Nexter Blocks Popup Builder block triggers a popup after a visitor reaches a specified number of page views by using Display Conditions > After X Page Views.
- Page View Count field accepts the exact number of page views a visitor must view before the popup shows.
- Popup Load Settings tab sets the Type to Hidden, and the post notes there are no popup trigger elements on the page.

Someone on their fourth page is browsing properly; someone on their first has barely arrived.

After X Page Views waits until a visitor has seen a number of pages before the popup appears.

*For every Popup Builder setting in one place, see the [Popup Builder block guide](https://nexterwp.com/docs/add-popup-builder-in-wordpress/).*

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/builder/wordpress-popup-builder/)

## Before You Start

- **Edition:** **Pro** — the Popup Builder block is part of Nexter Blocks Pro.- **Block to enable:** Popup Builder, switched on under **Nexter > Blocks** in your WordPress dashboard.- **The popup's content decided:** a short message, a form, or a saved pattern to load into it.

## Learn via Video Tutorial

https://youtu.be/cUqsOejgx3w?t=982

## Steps

- Add the **Popup Builder** block to your page and click **Design from Scratch**.

- In the **Content** panel, choose a **Type** and set the popup's size.

![The Content panel with the Type setting](https://nexterwp.com/wp-content/uploads/2026/09/popup-builder-type.webp)

- Set **Content Type** and add what the popup should show.

![The Content Type setting with Pattern, Content, Editor and Shortcode](https://nexterwp.com/wp-content/uploads/2026/09/popup-builder-content-type.webp)

- Open **Display Conditions** and switch **After X Page Views** on.

![The Display Conditions panel with After X Page Views and its count field](https://nexterwp.com/wp-content/uploads/2026/09/popup-builder-page-views.webp)

- Set how many pages a visitor should see before the popup appears.

- Publish the page and test it on the front end.

> *A popup can have more than one display condition switched on at once. Leave **On Button Click** on only if you also want the button to open it.*

## How It Behaves

- The count is a number of page views in the same visit, not a number of visits.- It is meant to be combined with another condition, so the popup still needs a moment to open once the count is reached.- Switch **On Button Click** off if the popup should not also have its own button.- A per visitor limit stops the popup returning on every later page.

## Limitations

- **Pro only.**- The count is kept per visit, so it starts again for a returning visitor.- Page caching plugins can interfere with counting page views, so test with caching on before relying on it.- On a one page site there are no further page views to count.

## Troubleshooting

### The popup does not appear after the set number of pages

Test on the published site with caching active, since a cached page can be served without the view being counted. If it still does not appear, use another condition such as **On Scroll** or **After Inactivity**, which are counted in the browser.

### It appears on the first page

Another condition such as **On Page Load** is probably also switched on.

## Related Docs

- [Show a popup once per session](https://nexterwp.com/docs/popup-once-per-website-session/)- [Show a popup after page scroll](https://nexterwp.com/docs/popup-after-page-scroll-in-wordpress/)- [Popup Builder block: all settings](https://nexterwp.com/docs/add-popup-builder-in-wordpress/)