How to show campaigns on specific pages or products
By default, campaigns show on all pages of your store. Use the Page URL display rule to control which pages the campaign appears on.
Where to find it
- Open your campaign in the 1ClickPopup app
- Go to the Settings tab
- Scroll to Display rules → Current page URL
- Select Show or hide based on page URL
Show only on the homepage
Add a Page URL rule and select Is homepage from the operator dropdown. No text input needed – this targets your store's homepage automatically.
Page URL operators
Each Page URL rule has an operator dropdown with six options:
- Equals – the URL must match exactly
- Does not equal – the URL must not match exactly
- Contains – the URL includes the text anywhere (e.g.,
/productsmatches any product page) - Does not contain – the URL does not include the text
- Is homepage – matches your store's homepage only (no text input needed)
- Is not homepage – matches every page except the homepage
Show on specific pages
Use Contains with a path segment to target specific types of pages:
- All collection pages –
Contains→/collections - A specific product –
Contains→/products/your-product-handle - Blog posts –
Contains→/blogs - Cart page –
Contains→/cart
Hide on specific pages
If you want the campaign to show on most pages but hide it on a few, use Does not contain to exclude specific pages while showing the campaign everywhere else.
For example, to hide the campaign on your cart page, add a rule with Does not contain → /cart .
Multiple rules: Match any vs. Match all
When you add more than one Page URL rule, use the Match any / Match all toggle at the top to control how they combine:
- Match any – the campaign shows if the page matches any of the rules (OR logic)
- Match all – the campaign shows only if the page matches all of the rules (AND logic)
For example, to show the campaign on both your collections page and your cart page, add two Contains rules (/collections and /cart ) and set the toggle to Match any.
Common mistakes
- Using "Is homepage" alongside other URL rules – if the rules conflict, the campaign may not show. Keep it simple – use one approach or the other
Tip
If you want the campaign on all pages, don't add any Page URL rules. Campaigns show on every page by default.