Show a campaign only on the pages you choose, or keep it off the ones where it doesn't belong.
What it is
A popup that makes sense on a product page can be out of place at checkout. A blog sign-up has no business on your cart page. Page targeting puts each campaign where it fits.
The Current page / URL rule looks at the page the visitor is on right now. It has two parts. Include lists the pages where the campaign may appear; Exclude lists the pages where it must not. Leave Include empty, and the campaign can appear everywhere except the excluded pages.
Each row matches the URL with contains, equals, starts with or ends with, or picks your homepage directly. Several Include rows work as alternatives: any one matching is enough. If a page matches both Include and Exclude, Exclude wins.
Without it, a campaign can show on every page where the OptiMonk code runs. With it, one rule in the campaign's settings decides.
When to use it
Include pages where the URL contains /blog, and your newsletter popup appears only next to your articles.
Include pages where the URL starts with /collections/earrings, and promote the earrings sale only where people are looking at earrings.
Pick homepage in the Include block, so the welcome popup greets people at the front door and nowhere else.
Leave Include empty and exclude pages containing checkout, so the campaign runs everywhere except where people are paying.
Key benefits
Each campaign appears where its message makes sense, which keeps it relevant and out of the way elsewhere.
List where it may show and where it mustn't, side by side. Exclude always wins.
You don't touch your site's templates. Change the pages any time in the campaign's settings.
How it works
Open Campaigns in the left menu, click your campaign, and open the Settings tab.
Under Who should see the popup, click Add new rule and pick Current page / URL. Add rows under Include, Exclude or both: pick a match type and enter part of the URL, like /blog, or choose homepage.
Click Save, then Save changes. The assistant can add it too, if you give it the path, like “only where the URL contains /blog”.
Settings & limits
Contains, equals, starts with and ends with. Regular expressions aren't supported.
A page that matches both blocks stays excluded. An empty Include block means every page is allowed.
Target catalog pages by their URL, like /collections/, rather than by a platform page type.
Every rule you add narrows the audience further, and each rule type can be added once. A saved change reaches a live campaign without republishing.
Step-by-step setup lives in the Help Center guide.
Yes. Add that page under Include, for example where the URL equals /pricing.
Contains, equals, starts with and ends with.
Yes. Choose homepage in the row.
It stays excluded. Exclude always wins.
The campaign can appear on every page except the excluded ones.
No. Use the four match types instead.
Yes, by URL, for example where the URL starts with /collections/earrings.
Yes, if you give the assistant the path. It won't guess one from a page type.