URL rules control where a supported in-app experience may appear.

Match types

  • Exact match: the complete URL must equal the value.
  • Contains: the URL includes the value.
  • Starts with / Ends with: the URL begins or ends with the value.
  • Does not match / Does not contain: excludes the specified URL or text.
  • Regular expression: evaluates a valid regular expression.

Combine rules

Multiple URL rules use OR logic: a page is eligible when any configured rule matches. An empty URL-rule list does not match. Use a saved audience separately when you also need person-level targeting.

Test

Test the full URL, including query strings where relevant. For single-page applications, confirm route changes are detected or call userorbit.registerRouteChange() as a fallback.

Regex safety

Start with exact or contains rules. Use regex only when necessary, and test invalid or overly broad patterns before publishing.

Was this helpful?