Enable data capturing in the new RUM Experience

  • Latest Dynatrace
  • How-to guide
  • 5min
  • Preview

This guide provides essential information for setting up and utilizing the New RUM Experience for both iOS and Android platforms, and web monitoring. Follow the instructions below to ensure a smooth setup and optimal performance.

Enabling ingest to Grail has no impact on the classic data capturing. Dashboards, alerting and configurations on classic as well as billing are not impacted.

Enable New RUM Experience for web data capturing

  1. In Dynatrace, go to Experience Vitals.
  2. Select the app you want to monitor, and select Settings.
  3. Under Enablement and cost control, enable the New Real User Monitoring Experience toggle.
  4. If Session Replay package is enabled on classic, you can also enable Experience Analytics, which includes capturing of user interactions.
  5. Update the injection:
    • For automatic injection, wait 1-2 minutes for the rollout of the new configuration.
    • For manual injection, copy and paste the snippet into your web page and re-deploy your app.

Additional requirements

Dynatrace OneAgent version

It’s recommended to use the latest version available, as features are added regularly, however, the minimum version required is OneAgent version 1.301+.

Additional checks

Make sure you have the following settings in your app:

  • Verify that the cost control settings for your application is set to 100%. If you set it below that threshold, not all sessions' events will be reported to Grail.
  • Server Firewall: Ensure that you allow the traceparent HTTP header.
  • Allow the query string parameters for the beacon endpoint.
  • Check that your firewall doesn't block compressed beacons.
  • Session Timeout: Ensure proper session management for Grail activation.

user.events automatically reported to Grail

The data is stored in the user.events table. The following events are automatically reported to Grail:

  • Web requests including all xhr/fetch requests and ResourceTiming information
  • Page summaries
  • Visibility changes, such as background and foreground information
  • Navigations
  • Errors and exceptions
  • User Interactions (if Experience Analytics is enabled)

For details on the user events captured you can review the Semantic Dictionary.

Customize your web app monitoring on Grail

To customize your experience with New RUM Experience, you can:

  • Add custom events via dynatrace#sendEvent.
  • Enrich, modify, or discard events via API dynatrace#addEventModifier.
  • Through manual instrumentations, use user tags via dtrum#identifyUser to create an Identify User Event.

You can find details on the new APIs and its limitations JavaScript API documentation.

Unsupported features for web app monitoring

These are the features that are currently not supported in New RUM Experience:

  • Injection mechanisms

    • Sync snippet injection
    • Async snippet injection
  • Missing data

    • User actions
    • Session end event
    • Visually complete
    • Session and action properties defined in classic (currently on Grail only via the new APIs above)
    • Rage clicks
    • Session replay
Related tags
Digital Experience