URL Targeting 🎯🔗
If you're using Global JS for your web intercept, URL targeting lets you show an intercept on specific pages only, instead of your whole site.
⚠️ The most common mistake with URL targeting
Enter the path only. Leave out the protocol and the domain, so for example:
🚫 Wrong: https://domain.com/pricing
✅ Right: /pricing (targets the start of the path and any sub-pages)
✅ Also right: pricing (anytime the words appear)
If you include the domain, the rule won't match anything, since Ethnio only checks the path. The types of targeting currently available are as follows, with examples to help clarify:
| Rule | Matches | Example rule | Matches | Doesn't match |
|---|---|---|---|---|
| Contains | Any path with this text anywhere | pricing |
/pricing , /pricing/enterprise , /old-pricing-page |
/plans |
| Starts with | Paths that begin with this text | /blog |
/blog/post-1 , /blog |
/company/blog |
| Ends with | Paths that end with this text | /thank-you |
/signup/thank-you |
/thank-you-page |
| Is | This exact path only | /pricing |
/pricing |
/pricing/enterprise |
| Is not | Every path except this one | /pricing |
/blog , /signup |
/pricing |
This is where it lives under Publish for studies using Web intercepts and Global JS:

Adding a rule
- Head to any study published as a web intercept and go to Publish
- Scroll down to URL Targeting for this study, pick a rule type from the dropdown.
- Enter the path only, starting with
/. - Click Save.