OptinMonster makes it easy to show campaigns to visitors only after they have visited a specific number of pages.
In this article, you will learn how to use the number of Page Views Display Rule in OptinMonster.
Before You Start
Here are some things to know before you begin:
- The Page View rule lets you display your campaign based on how many pages the visitor has viewed during their time on your website.
- OptinMonster cannot track page views when visitors are using private browsing or Incognito modes due to how they function, and because they do not use local storage.
Add Page View Rule
When you create a campaign in OptinMonster that you want to show to visitors only after they’ve viewed a specific number of pages you can use our Display Rules to do so.
To configure the Page View rule, follow these steps:
- Navigate to the Display Rules view in the campaign builder.
- When adding a new rule, select # of Pages Viewed from the Personalization menu.
- Choose the operator (equals, is at least, is no more than, etc) and how many pages you would like to use for the condition.
- When you are finished, click Save.
Show a campaign if a visitor has viewed an exact number of pages
In this example, the Display Rules read: pages viewed equals 2
This condition allows you to show your campaign on the second page your visitor goes to on your site. You might use this rule to ensure that your visitors aren’t immediately met with a campaign when they arrive to your site, but still allows you to catch them early on in their visit.
Show a campaign if a visitor has viewed at least a certain number of pages
In this example, the Display Rules read: pages viewed is at least 4 AND time on site is at least 60 seconds
This combination of rules ensures that only the most interested and engaged visitors will be shown this campaign. Your visitor may have visited 4+ pages very quickly, or have been on the site for over a minute on just one page, but the campaign will not show until both rules are met since they are connected by an AND operator.
Show a campaign if a visitor has viewed no more than a certain number of pages
In this example, the Display Rules read: pages viewed is no more than 3 AND exit detected on all devices
This combination of rules would be perfect for a popup that says “Leaving so soon? Come back!” These rules target visitors who have visited only 1, 2, or 3 pages, AND have indicated that they are going to leave unless something (like a great offer) convinces them to stay.
I’ve set my campaign to load on the second pageview, but it’s not appearing. Why?
Check that you’ve visited at least one page of your site where the campaign is embedded first before navigating to the second page of your site where the campaign is embedded and expected to appear.
A pageview is only counted if this specific campaign is embedded on the page you’ve viewed. If you are using the global embed code added to all pages of your site this should not be an issue.