# RUM Session Capture by User Type

**URL:** <https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, application-monitoring, user-sessions\
**Created:** [February 9, 2026, 3:32pm UTC](https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930 "2026-02-09T15:32:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![scardignos](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@scardignos](https://community.dynatrace.com/u/scardignos)\
**Post date:** [February 9, 2026, 3:32pm UTC](https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930/1 "2026-02-09T15:32:04Z")

</div>

Hi Everyone,

I’m reaching out to see if any teams have encountered and solved a challenge we’re facing with RUM session capture.

**The Problem:**

Due to the cost of RUM sessions, we’ve had to reduce our capture rate on all frontend applications. However, we currently have no way to selectively capture only the sessions we’re most interested in analyzing.

Specifically, we’d like to capture **client sessions** while excluding **QA and Robot sessions**. This would allow us to maximize the value of our session budget by focusing on actual user behavior.

Has anyone found a way to filter session capture by persona or user type?

Any insights or solutions you can share would be greatly appreciated!

Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [February 9, 2026, 6:57pm UTC](https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930/2 "2026-02-09T18:57:29Z")

</div>

Hi&nbsp;[@scardignos](https://community.dynatrace.com/user/44483)

Maybe I’m misunderstanding the question, but you are able to exclude capturing of RUM user sessions based on IP addresses and also exclude bots/crawlers for web applications.

> **[Exclude IP addresses, browsers, bots, and spiders from monitoring for web...](https://docs.dynatrace.com/docs/observe/digital-experience/rum-classic/web-applications/additional-configuration/exclude-browsers-robots-and-spiders-from-monitoring)**
>
> Disable Real User Monitoring Classic for certain IP addresses, browsers, bots, and spiders.

If this is not what your question is about, please elaborate 🙂

PS: I’m not sure why your post ended up with a ‘community issue’ label, or in the ‘Ask moderators’ section, so I’m moving it to the Ask → Real User Monitoring section and adding the correct labels re: the topic.

HTH,  
André

---

<div class="post-metadata">

**Author:** ![scardignos](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@scardignos](https://community.dynatrace.com/u/scardignos)\
**Post date:** [February 11, 2026, 2:01am UTC](https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930/3 "2026-02-11T02:01:21Z")

</div>

Let me try again. &nbsp;We have “cost and traffic control” set to a 60% for an application that generates millions of sessions per day. &nbsp; To better assess the client experience and make the best use of captures, we want to exclude sessions generated by certain application roles (e.g., admins or managers). &nbsp; These sessions can originate from many different geolocations, so maintaining an IP-exclude list would not be feasible. &nbsp;Does that help?

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [February 12, 2026, 7:19am UTC](https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930/4 "2026-02-12T07:19:13Z")

</div>

Unfortunately, it is not possible to control cost/traffic based on what you’re looking for. The only options available, are listed in the documentation page I linked to.

---

<div class="post-metadata">

**Author:** ![rbender](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rbender](https://community.dynatrace.com/u/rbender)\
**Post date:** [February 12, 2026, 2:40pm UTC](https://community.dynatrace.com/t/rum-session-capture-by-user-type/54930/5 "2026-02-12T14:40:16Z")

</div>

I don’t believe there is a way to conditionally enable/disable RUM on the Dynatrace admin side (e.g. settings in the RUM application), but this should be accomplishable with application logic. Instead of enabling all sessions, your application would programmatically enable/disable for specific user groups. I believe you would set [opt-in mode](https://docs.dynatrace.com/docs/shortlink/configure-rum-privacy#user-opt-in-mode-gdpr) to enabled (meaning nothing is captured by default), and then conditionally [enable()](https://www.dynatrace.com/support/doc/javascriptapi/doc/types/dtrum.html#enable-1) the desired users.

You could then add additional session metadata for persona/user type, which might accomplish your other question of advanced filtering.

> **[Customize Real User Monitoring Classic with the JavaScript API for web...](https://docs.dynatrace.com/docs/observe/digital-experience/rum-classic/web-applications/additional-configuration/customize-rum)**
>
> Find out how to customize Real User Monitoring Classic using the JavaScript API.

Hope that helps!
