Customize Real User Monitoring with JavaScript API

Dynatrace enables you to extend its default Real User Monitoring functionality using the RUM JavaScript API. It allows you to create custom user actions, report errors, enable Session Replay, and much more. For the list of additional capabilities, check RUM JavaScript API.

The good thing is that the RUM JavaScript API is already included in the RUM JavaScript, which is injected automatically by OneAgent. If you haven't installed OneAgent, you can use agentless monitoring to insert the RUM JavaScript manually.

The RUM JavaScript API documentation provides information on all RUM customization options and also contains useful code samples. You can either access the JavaScript API documentation online or download a ZIP archive from your environment to view the guide offline.

To access the online guide, go to JavaScript API documentation.