Summary
Dynatrace Real User Monitoring (RUM) automatically detects page names based on URL and DOM events. While this works well for most applications, some web apps may require manual control over page names and page groups.
Resolution
If the automatic grouping doesn’t cover all of your application’s use cases, use the RUM JavaScript API to set your own page and page group names.
To do this, enable the manual page detection by calling dtrum.enableManualPageDetection and then start reporting page changes via dtrum.setPage.
More information and an example of how to define your own page and page group names here, and an Angular 17+ example here.
What’s Next
If the steps above don’t result in the page/ page group naming that you expect, contact Dynatrace via the in-product chat or by creating a support ticket.
To help our support team investigate efficiently, include the following information:
- A summary of the steps you’ve already completed.
- A link to a user session showing the behavior
- A HAR file, or, preferably, a Fiddler session capturing the full scenario.
Providing this information upfront will help accelerate the resolution process.