Popupsmart Logo
Segment & TargetingTriggers

After X Page Visit Targeting

Show your popup campaign to visitors who have viewed at least X pages during the same visit. Learn how to set up After X Page Visit targeting in Popupsmart.

After X Page Visit targeting shows your campaign to visitors who have viewed at least a set number of pages on your website during the same visit.

This lets you reach people who are already exploring your site, instead of interrupting them on the very first page they land on.

How After X Page Visit Works

Popupsmart counts the pages a visitor views within a single session. The landing page counts as the first page.

Example: If you set it to 3 pages, visitors will see your popup once they view their 3rd page.

Page in the same visitCounted asPopup
Landing pagePage 1Not shown
Second pagePage 2Not shown
Third pagePage 3✅ Shown

Good to know

The page count resets when a new session starts, so a returning visitor begins counting from their landing page again.

How to Set Up After X Page Visit Targeting

Open the Segment Step

Open the popup campaign you want to configure and go to the campaign's Segment step. Then click Add user behavior targeting under User Behavior.

Popupsmart Segment & Targetings screen with red arrows pointing to the Segment step in the sidebar and the Add user behavior targeting button under the User Behavior section

Select After X Page Visit

In the Add User Behavior Targeting modal, select After X Page Visit from the list of triggers.

Add User Behavior Targeting modal listing After Scrolling x%, Inactivity Mode, After X Seconds, After X Page Visit, Exit Intent, and On-Click Targeting, with a red arrow pointing to After X Page Visit

Set the Number of Pages

Enter how many pages a visitor must view before the popup is displayed. In the example below, the value is set to 3, so the popup appears on the visitor's 3rd page view.

After X Page Visit condition added to the User Behavior section with the page count set to 3, highlighted with a red frame

Save and Publish

Save your changes, then publish or update the campaign. The targeting condition will apply after the updated campaign is published.

Use Cases

Choosing the right page count

Page countBest for
2 pagesBroad reach while still skipping accidental bounces
3 pagesThe balanced default for most campaigns
4-5 pagesHigh-intent offers such as demo requests or larger discounts

Combining After X Page Visit With Other Conditions

After X Page Visit can be used together with other targeting options, including:

Important

User behavior triggers are combined with ANY logic, which means the popup can be triggered by whichever condition is met first. If you add an exit-intent trigger alongside After X Page Visit, the popup may appear on exit intent before the visitor reaches the set page count.

Frequently Asked Questions

Do you have additional questions about After X Page Visit targeting? Contact Us!

How is this guide?