Default Behavior
Route parameterization replaces dynamic path segments with stable placeholders. It groups route filters and page-level insights by page type instead of by individual page visit. The SDK applies a built-in parameterizer when you do not supply one.
For example:
Add Application Patterns
TheparameterizeRoute option replaces the built-in function. Call
defaultParameterizeRoute() inside your function to keep the default behavior:
Install the recorder package to import the built-in helper directly:
/teams/acme-inc/projects/123 to
/teams/:slug/projects/:id.
Design Stable Patterns
- Return the same value for routes that represent the same page type.
- Preserve enough static text to distinguish different page types.
- Keep the leading slash.
- Avoid placeholders that contain user or resource values.
- Test routes with several identifier formats before deployment.
URL Privacy
Route parameterization changes path segments in route-change and initial page events. It does not remove query strings or fragments from the initial page URL. It also does not change network request URLs. Do not place personal data, secrets, or access tokens in URLs. Configure privacy and data masking separately.Related Resources
Get started
Configure the Recording SDK.
Explore recordings
Review route journeys and page-level insights.

