# RUM opt-out dtrum.disable error

**URL:** <https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, oneagent, javascript\
**Created:** [May 30, 2018, 9:20am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180 "2018-05-30T09:20:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![juan\_moyano\_mar](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@juan\_moyano\_mar](https://community.dynatrace.com/u/juan_moyano_mar)\
**Post date:** [May 30, 2018, 9:20am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180/1 "2018-05-30T09:20:57Z")

</div>

According to [this post](https://www.dynatrace.com/support/help/data-privacy-and-security/configuration/how-do-i-configure-real-user-monitoring-for-privacy/?_ga=2.125111433.2044834080.1527254061-866524236.1521215110) (_Using the call `dtrum.disable()`, you can implement a dialog that enables your end users to stop sending monitoring data to Dynatrace, even after it’s been explicitly enabled_) this feature should be available now but, still, dtrum.disable() throws an error.

Any idea?

Regards,

Juan

---

<div class="post-metadata">

**Author:** ![gary\_spencer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gary_spencer/32/20876_2.png) [@gary\_spencer](https://community.dynatrace.com/u/gary_spencer)\
**Post date:** [May 30, 2018, 10:01am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180/2 "2018-05-30T10:01:46Z")

</div>

Hi Juan,

Can you help us out here and share the version of the JS agent you have there?

In the browser console please share the output of dT\_.version

![17013-10-143.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/0/b021200997296aed9ff5dd9131a5a08c2d9aaeca.png)

In the example above, you see I have version 143. That JS function - dtrum.disable() - comes in v.145.

Hope it helps,  
Gary

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [May 30, 2018, 10:16am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180/3 "2018-05-30T10:16:04Z")

</div>

Hi Juan,  
The disable() call needs a OneAgent version 1.145. The roll out of this agent version starts next week for specific environments.

Alex

---

<div class="post-metadata">

**Author:** ![juan\_moyano\_mar](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@juan\_moyano\_mar](https://community.dynatrace.com/u/juan_moyano_mar)\
**Post date:** [May 30, 2018, 10:30am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180/4 "2018-05-30T10:30:33Z")

</div>

Thanks for the feedback. I  
didn’t see any reference to agent version 1.145 in the documentation, that’s  
why I thought it was already available.

Regards,

Juan

---

<div class="post-metadata">

**Author:** ![gary\_spencer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gary_spencer/32/20876_2.png) [@gary\_spencer](https://community.dynatrace.com/u/gary_spencer)\
**Post date:** [May 30, 2018, 10:45am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180/5 "2018-05-30T10:45:57Z")

</div>

Hi Juan, No problem. And yes I raised that internally to make it clearer in the docs.

In the meantime, you can use the Opt-in mode documented here [Configure data privacy settings for web applications in RUM Classic — Dynatrace Docs](https://www.dynatrace.com/support/help/data-privacy-and-security/configuration/how-do-i-configure-real-user-monitoring-for-privacy/) or use the “do not track” feature.

Gary

---

<div class="post-metadata">

**Author:** ![gary\_spencer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gary_spencer/32/20876_2.png) [@gary\_spencer](https://community.dynatrace.com/u/gary_spencer)\
**Post date:** [June 1, 2018, 8:38am UTC](https://community.dynatrace.com/t/rum-opt-out-dtrum-disable-error/12180/6 "2018-06-01T08:38:55Z")

</div>

FYI [@juan m.](https://answers.dynatrace.com/users/23056/view.html) we updated the page to be clearer now
