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

Updated on February 6, 2023 by Ananda

Table of Contents

As a WordPress website owner, you know the importance of user engagement and creating great customer experiences. Popups are a great way to gain visibility for special offers or provide visitors with helpful content. However, showing the popup at the correct time is equally important.

To check the complete feature overview documentation of The Plus Blocks for Gutenberg Popup Builder block, click here.

Requirement  – This block is a part of The Plus Blocks for Gutenberg, make sure its installed & activated to enjoy all its powers.

But how do you know when is the right time? 

For this, you can use the number of page view metrics and show the popup to those users only who have viewed a certain number of pages.

Luckily with the Popup Builder block from The Plus Blocks for Gutenberg, you can easily specify the number of page views required before a popup will trigger.

To do this, add the block on the page, after selecting the appropriate popup type and adding the content go to Display Conditions > After X Page Views and turn on the toggle.

popup builder page views

In the Page View Count field, add the number of page views you want for a visitor before showing the popup.

Note: Make sure there are no popup trigger elements on the page, so set the Type to Hidden in the Selector tab.