OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster



How to Target Visitors Based on Page Views

How to Target Visitors Based on Page Views

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:

  1. Navigate to the Display Rules view in the campaign builder.
    Navigate to the Display Rules in the OptinMonster campaign builder.
  2. Next, when adding or editing a rule select When (Triggers) from the left-hand list and select the # of Pages Viewed option.
    Number of pages viewed rule in OptinMonster.
  3. Configure the rule using the options provided.
    # of pages viewed options.
  4. When you are finished, Save the campaign.


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 page view 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.

Still stuck?

How can we help?

Last updated on

Start Getting More Leads & Sales Today with OptinMonster!

Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com