# Opt-out for Real User Monitoring

**URL:** <https://community.dynatrace.com/t/opt-out-for-real-user-monitoring/10986>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, javascript\
**Created:** [February 27, 2018, 2:09pm UTC](https://community.dynatrace.com/t/opt-out-for-real-user-monitoring/10986 "2018-02-27T14:09:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![franz\_soengen](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/franz_soengen/32/21806_2.png) [@franz\_soengen](https://community.dynatrace.com/u/franz_soengen)\
**Post date:** [February 27, 2018, 2:09pm UTC](https://community.dynatrace.com/t/opt-out-for-real-user-monitoring/10986/1 "2018-02-27T14:09:05Z")

</div>

Hi,

I saw the blog post about [Cookie opt-in mode](https://www.dynatrace.com/news/blog/how-to-ensure-your-customers-data-privacy-during-monitoring/) and wondered if there was a way to implement an opt-out? Say a user decides to opt-in and then they want to undo their action.

I didn’t see any dtrum.disable() but I assume it would be possible to delete all Dynatrace cookies and their backups in session storage since Dynatrace would not automatically recreate them with “Cookie opt-in mode” enabled. Does this stop the collection of RUM data for the current session though? Or is there any “more official” way of disabling RUM for a specific user from the client side?

best regards  
Franz

---

<div class="post-metadata">

**Author:** ![joshua\_raymond](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joshua_raymond/32/36036_2.png) [@joshua\_raymond](https://community.dynatrace.com/u/joshua_raymond)\
**Post date:** [May 1, 2018, 1:31pm UTC](https://community.dynatrace.com/t/opt-out-for-real-user-monitoring/10986/2 "2018-05-01T13:31:07Z")

</div>

Hey Franz,

There will be a dtrum.disable() method available soon within the product, however, I unfortunately don’t have any exact timelines.

Thanks,

Josh

---

<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 29, 2018, 10:03am UTC](https://community.dynatrace.com/t/opt-out-for-real-user-monitoring/10986/3 "2018-05-29T10:03:44Z")

</div>

[@Joshua R.](https://answers.dynatrace.com/users/2957/view.html):

According to [this post](https://www.dynatrace.com/support/help/data-privacy-and-security/configuration/how-do-i-configure-real-user-monitoring-for-privacy/) this feature should be available now but, still, dtrum.disable() throws an error.

 ![16993-dt-00.png](https://global.discourse-cdn.com/dynatrace/original/3X/a/d/ad42b5031ab681b94a6a2aa31fb4bcd3241ccfd8.png)

Any idea?

---

<div class="post-metadata">

**Author:** ![joshua\_raymond](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joshua_raymond/32/36036_2.png) [@joshua\_raymond](https://community.dynatrace.com/u/joshua_raymond)\
**Post date:** [May 31, 2018, 2:07pm UTC](https://community.dynatrace.com/t/opt-out-for-real-user-monitoring/10986/4 "2018-05-31T14:07:31Z")

</div>

Hi Juan,

Can you please ensure that you are using v144 of the agent? The dtrum.disable() function is available within this version as explained within this [blog post](https://www.dynatrace.com/news/blog/new-privacy-settings-secure-your-customers-personal-data/?_ga=2.43590565.1449957978.1527598637-946120501.1526054104).

Thanks,

Josh
