Rule-based URL Tagging (Quick Guide)
Rule tags apply to pages by matching their URL against a glob pattern. Matching is case-insensitive. We normalize URLs by stripping scheme andwww., lowercasing, and trimming trailing slashes. If your pattern includes ?, the query string is matched; otherwise, it’s ignored.
Basics
-
*matches exactly one path (or query) segment (no/inside) -
**matches any depth (may include/) -
Include
?in the pattern to match query order and keys literally, with*/**wildcards inside values
-
Don’t include
https://orwww.in patterns; we strip them automatically -
Use
**when depth varies; use*when it must be one segment -
To match query params, include
?and write the keys in order you expect
