
URL Normalization
Normalizes URLs by replacing dynamic path segments (containing numbers or capital letters) with :id placeholders. This helps group similar URLs together for analysis.
Configuration
| Option | Description |
|---|---|
Remove hash parameterType: boolean Required: False | Whether to remove the hash parameter in the normalized URL |
Remove query stringType: boolean Required: False | Whether to remove the query string in the normalized URL |
Replace with tokenType: string Required: False | The string to replace parts that look like a dynamic path segment. Defaults to :id |
URL properties to normalizeType: string Required: True | Comma-separated list of event properties to normalize. Can include both event properties and top-level event fields like distinct_id. |
RegexType: string Required: False | The regex to use to match the dynamic path segment. The default value will match UUIDs and strings of 3 or more capital letters or numbers. |
Using our REST API you can create this transformation like so: