Which pages: page and URL rules
Page rules limit a campaign to the pages where it makes sense, such as a sale collection, product pages or the cart. 7 conditions on this page.
Page rules limit a campaign to the pages where it makes sense, such as a sale collection, product pages or the cart.
The conditions
- Page URL: The page path, e.g. /collections/sale.
- URL parameter: A parameter in the page address, e.g. ?utm_source=instagram.
- URL anchor: The #anchor at the end of the page address.
- Visited earlier: A page the visitor viewed earlier this visit.
- HTML element: Show only on pages that contain this element.
- Landing page: The first page of this visit, e.g. a sale page an ad sent them to.
- Page title: The title of the page they are on, e.g. product pages whose title contains “Abaya”.
Where to find them
- Open a campaign in the editor and go to Where & when.
- The common choices are in the three questions. For the rest, open Targeting rules and click Edit rules.
- Click Add condition, search or browse the list, and pick the condition. They are grouped as When, Who and Where.
- Read the summary: it says in one sentence when the campaign will show.
Good to know
- Matching ignores capital letters and a slash at the end of the address.
- The words to compare with are: is, is not, contains, does not contain, starts with, ends with, matches the pattern, does not match the pattern. For some conditions also is present and is absent.
- A pattern is a regular expression, for developers. The app refuses a pattern that is not valid, is longer than 200 characters, or could freeze a visitor's page.
- For worked examples, see Page rules with worked examples.
- To keep every campaign off a page, use Never show campaigns on these pages in Settings instead of a rule on each campaign.
Related
Last updated: October 12, 2026