Promolayer allows you to show or hide a display on specific pages using URL rules.
How it works
In the Rules tab, choose from the following three configuration options:
Show on all pages
Shows the display on every page where the Promolayer tracking tag is installed.
Show only on homepage or single pages
Restricts the display to a specific page.
Note: This setting ignores search parameters. For example, a URL like
[https://mysite.com?utm=xxx](https://mysite.com?utm=xxx)will still be recognized as a match.Multiple URLs & advanced targeting
Configure rules using the "Targeted URLs:" and "Excluded URLs:" sections. Each rule you add compares the visitor's current page URL based on your selected "Match type".
Configuration Examples
Here are examples of how to use Multiple URLs & Advanced Targeting.
Note: Please check your website's actual URLs and replace the example text as needed.
Display everywhere except for cart and checkout
Add the following to "Don't show on these pages":
Display on all pages within a specific category
Add the following to "Show on these pages":
Match type ➜ URL Starts with
Match text ➜
[https://mysite.com/my-category/](https://mysite.com/my-category/)
Target a specific Google campaign
Add the following to "Show on these pages":
Match type ➜ URL Contains
Match text ➜
utm_campaign=mycampaign
Display on multiple specific URLs
Add the following to "Show on these pages":
Match Types and Behavior
Match type | Behavior / Criteria |
URL Equals | Checks for an exact URL match. (Matches against the URL excluding search parameters and hashes) |
URL Contains | Checks if the specified string is contained within the full URL (including search parameters and hashes). |
URL Starts with | Checks if the URL begins with the specified string. (Matches against the URL excluding search parameters and hashes) |
URL Ends with | Checks if the URL ends with the specified string. (Matches against the URL excluding search parameters and hashes) |
“Search parameters” refer to strings following a ? (e.g., ?search=mysearch), and “hashes” refer to strings following a #.
Important Notes
Exclusion rules always take precedence: If a conflict occurs between "Show on these pages" and "Don't show on these pages", the exclusion rule is always applied. (Example: If you set
/cartas both a target and an exclusion, the display will not show).Trailing slashes are ignored: The presence or absence of a trailing slash (
/) at the end of a URL is automatically normalized, so it will work either way.Advanced Tip: By choosing the "URL Contains" match type, you can target query strings for things like on-site search terms or Google Analytics UTM parameters.
If you want to target pages using criteria other than the URL (such as regular expressions, page titles, CSS elements, cookies, or JavaScript variables), please see "Advanced Targeting (Pro Plan)".




