# Turn on/off RUM conditionally

**URL:** <https://community.dynatrace.com/t/turn-on-off-rum-conditionally/11692>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [November 20, 2020, 4:25pm UTC](https://community.dynatrace.com/t/turn-on-off-rum-conditionally/11692 "2020-11-20T16:25:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Joe\_Hoffman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/joe_hoffman/32/30752_2.png) [@Joe\_Hoffman](https://community.dynatrace.com/u/Joe_Hoffman)\
**Post date:** [November 20, 2020, 4:55pm UTC](https://community.dynatrace.com/t/turn-on-off-rum-conditionally/11692/2 "2020-11-20T16:55:27Z")

</div>

I think you’re on the right track. If RUM is not enabled automatically, and you manually enable it using dtrum.enable(), then you can control when RUM starts. The downside is that you will loose visibility into the page activities prior to enabling RUM.

---

_[View the full topic](https://community.dynatrace.com/t/turn-on-off-rum-conditionally/11692)._
