OptinMonster makes it easy to show campaigns to visitors only after they have or have not viewed a specific page of your site.
In this article, you’ll learn how to use the Pages Visited Display Rule in OptinMonster.
Before You Start
Here are some things to know before you begin:
- The Pages Visited rule requires a Growth subscription.
- The Pages Visited rule lets you display your campaign based on specific pages the visitor has already visited during their time on your website.
- When you see URL path mentioned in this article, the URL path is a specific portion of a web page’s URL, but not the full URL. The URL path is the text after the domain and before any query arguments or anchors.
- Learn more about our Display Rules,
Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE! Click here to get started →
Add Pages Visited Rule
When you create a campaign in OptinMonster that you want to show to visitors only after they have or haven’t viewed specific page(s) of your website you can use our Display Rules to do so.
To configure the Pages Visited rule, follow these steps:
- Navigate to the Display Rules view in the campaign builder.
- When adding a new rule, select Has Visited a Page or Has Not Visited a Page from the Personalization menu.
The following options are available for Page View targeting:
- URL Operators
- is the homepage
- exactly matches
- starts with
- ends with
- matches the pattern (RegEx)
- Days Operators
- Within the last (days)
- URL Operators
- Once you’ve selected the specific option you would like to use you’ll be provided with configuration options specific to that feature.
- When you’re finished, click Save.
What should I enter in the Key field?
This field accepts only a valid URL Path.
The URL path is a specific portion of a web page’s URL, but not the full URL. The URL path is the text after the domain and before any query arguments or anchors.
I have a Single Page Application I’m using OptinMonster on but this rule isn’t working for me.
In some cases, this rule may not work as expected on SPA sites. If you’re experiencing this issue please submit a support ticket.