GuideReference
TrainingSupportCommunity
Reference

path

  • Property Manager name: Path
  • Criteria version: The v2023-01-05 rule format supports the path criteria v1.2.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Matches the URL's non-hostname path component.

OptionTypeDescriptionRequires
match_​operatorenum

Matches the contents of the values array.

{"displayType":"enum","options":["MATCHES_ONE_OF","DOES_NOT_MATCH_ONE_OF"],"tag":"select"}
MATCHES_​ONE_​OF

Matches any of the values array.

DOES_​NOT_​MATCH_​ONE_​OF

Matches none of the values array.

valuesstring array

Matches the URL path, excluding leading hostname and trailing query parameters. The path is relative to the server root, for example /blog. The value accepts * or ? wildcard characters, for example /blog/*/2014.

{"displayType":"string array","tag":"input","todo":true}
match_​case_​sensitiveboolean

Sets a case-sensitive match.

{"displayType":"boolean","tag":"input","type":"checkbox"}
normalizeboolean

Transforms URLs before comparing them with the provided value. URLs are decoded, and any directory syntax such as ../.. or // is stripped as a security measure. This protects URL paths from being accessed by unauthorized users.

{"displayType":"boolean","tag":"input","type":"checkbox"}