OptinMonster makes it easy to control where and how your campaign appears to visitors with Display Rules. Each page can have different types of campaigns, with different content and exclusive offers.
In this article, you’ll learn how to use Display Rules to customize when your OptinMonster campaign will appear.
Before You Start
Here are some things to know before you begin:
- Display Rules refers to a set of conditions which control when and where your campaign can appear to visitors on your site.
- Rulesets are individual sets of conditions in the Display Rules area of the campaign builder. You can create multiple Rulesets with completely different conditions if desired.
- A Rule is an individual condition in your Ruleset that allows or prevents the campaign from appearing.
- Within each Ruleset, you can combine both OR rules as well as AND rules to create simple to complex Rulesets.
- Some Rules mentioned in this article are available with a specific subscription plan or to specific campaign types.
Customize Display Rules
When you create a campaign in OptinMonster you’ll want to customize when and where it appears to visitors.
To customize the Display Rules, follow these steps:
- Navigate to the Display Rules view in the campaign builder.
- When you first view the Display Rules view, you’ll be shown a Summary of your Ruleset explaining when and where the campaign will appear.
- Select the Edit button next to any Rule in the Ruleset Summary to edit the Ruleset. Alternatively, you can select a different Ruleset in the left sidebar if you’ve created more than one Ruleset.
The following Rules are available to customize when and where your campaign appears to visitors:
- Time on page
- Time on site
- Exit detected
- Visitor clicked MonsterLink
- Distance scrolled
- Visitor inactive time
- Current day
- Current time
- Current date and time
- Current month
- Current URL path
- Pages viewed
- Visitor’s device
- Visitor has opted in to
- Visitor has not opted in to
- Visitor has closed
- Visitor has not closed
- Visitor has seen
- Visitor has not seen
- Visitor is new
- Visitor is returning
- Visitor has visited URL path that
- Visitor’s location
- The URL query arg
- A cookie
- The referrer URL
- Visitor’s ad-blocker is
- Current URL hash
- Visitor was shown
- Visitor was not shown
Within each Ruleset, you can combine both OR rules as well as AND rules to create complex logic for your situation.
In general, sets of exclusionary rules, like ‘does not contain’, should be added as AND conditions while sets of inclusionary rules, like ‘exactly matches’, should be added as OR conditions.
When evaluating the ruleset, every AND condition will need to true while only one condition in each OR condition set will need to be true.
Learn how to add, edit, and delete rulesets by following our ruleset documentation here.
Learn more about how to use the WordPress plugin to control where your campaigns appear.
I’ve set my campaign to NOT show on specific URL paths but it continues to appear where it should not.
Be sure you’re adding any exclusionary rules (e.g. “is not”, “does not contain”, “does not exactly match” etc) as AND conditions.