Set up Digital Experience Analytics in Splunk RUM
Configure Digital Experience Analytics alongside Splunk Real User Monitoring (RUM) to track key user analytics.
Follow the same process used to instrument applications for Splunk Real User Monitoring (RUM) in order to set up Digital Experience Analytics (DXA). To enable automatic source mapping of your browser, iOS, and Android applications at instrumentation time, install the splunk-rum CLI. For more information, see [NO TITLE FOUND].
Instrument applications using the Splunk RUM agent
- For browser applications, install version 2.0.0 or later of the Splunk Browser RUM agent to use DXA capabilities. For more information, see Install the Splunk RUM browser agent.
-
For mobile applications, install version 2.0.0 or later of the Splunk RUM iOS agent or Splunk RUM Android agent to use DXA capabilities. For more information, see:
Configure the Splunk RUM agent
Use RUM data in Splunk Digital Experience Analytics
Configure end user tracking using the user.trackingMode setting to link RUM data to Digital Experience Analytics. This setting creates and attaches an anonymous user ID to spans. This setting is enabled by default in the browser RUM agents version 2.0 or later, iOS RUM agent version 2.0.5 or later, and Android RUM agent version 2.1.3 or later.
To disable user tracking in the browser or mobile RUM agents, set the appropriate user tracking setting in either the browser or mobile RUM agent to noTracking.
(Optional) Turn on text collection on click events
-
Default safety (only node names recorded; zero privacy risk)
JSON{ "maskAllText": true, "sensitivityRules": [] } -
Selective unmask (all masked except safe product names)
JSON{ "maskAllText": true, "sensitivityRules": [ { "rule": "unmask", "selector": "p.product-name" } ] } -
Mixed (p masked except product labels; user profiles excluded completely)
JSON{ "maskAllText": true, "sensitivityRules": [ { "rule": "mask", "selector": "p" }, { "rule": "unmask", "selector": "p.item-label" }, { "rule": "exclude", "selector": "#user-profile" } ] } -
Unmasked by default, with specific mask (all text recorded except explicitly masked sensitive ones)
JSON{ "maskAllText": false, "sensitivityRules": [ { "rule": "mask", "selector": "p.sensitive" } ] }
-
Log in to Splunk Observability Cloud.
-
Select Digital Experience and the Overview page for Digital experience analytics.
-
Check that your application is listed in the Available applications.