# RUM : Brining the RUM traffic to Cluster Active Gate

**URL:** <https://community.dynatrace.com/t/rum-brining-the-rum-traffic-to-cluster-active-gate/32156>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [July 20, 2021, 2:49pm UTC](https://community.dynatrace.com/t/rum-brining-the-rum-traffic-to-cluster-active-gate/32156 "2021-07-20T14:49:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawandeep\_sing1](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@pawandeep\_sing1](https://community.dynatrace.com/u/pawandeep_sing1)\
**Post date:** [July 20, 2021, 2:49pm UTC](https://community.dynatrace.com/t/rum-brining-the-rum-traffic-to-cluster-active-gate/32156/1 "2021-07-20T14:49:04Z")

</div>

Hi Community

I have a query related to RUM. We want to bring in the RUM traffic to our CAG directly rather than routing though web host.

I see we have a option in Advance Setup and its working well and we see traffic reduction on our Web Host with this.

I am looking to know if we have a way to mask the environment id that we need to supply in these setting because we don’t want to expose our id to our users.

Please let me know if there is a option.

_https://\<dns-CAG\>:\<port\>/rb\_\<environmentid\>_

 ![pawandeep_sing1_0-1626792324815.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/b/bbc1d570c931c3099fe7e8e60adb900348c3ba25.png)

Thanks

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 20, 2021, 3:31pm UTC](https://community.dynatrace.com/t/rum-brining-the-rum-traffic-to-cluster-active-gate/32156/2 "2021-07-20T15:31:48Z")

</div>

The environment ID is needed so Dynatrace knows to which environment the beacons belong.

If you don’t want it visible in the browser you use a load balancer or reverse proxy between the browser and cluster AG to which the beacons will be sent. The load balancer /&nbsp; reverse proxy can then rewrite the URL to the correct one, for example based on the domain of the request.

---

<div class="post-metadata">

**Author:** ![pawandeep\_sing1](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@pawandeep\_sing1](https://community.dynatrace.com/u/pawandeep_sing1)\
**Post date:** [July 20, 2021, 6:27pm UTC](https://community.dynatrace.com/t/rum-brining-the-rum-traffic-to-cluster-active-gate/32156/3 "2021-07-20T18:27:47Z")

</div>

hi Pahofmann

If we setup a LB (example : [https://rum-resolver](https://rum-resolver)&nbsp;) and on our LB we set this to resolve to CAG (eample :&nbsp;_https://\<dns-CAG\>:\<port\>/rb\_\<environmentid\>&nbsp;)_

_Can we be able to supply the LB resolver in JavaScript Library and in the incoming request will be able to reach to us back as expected please._

_Thanks_

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [July 20, 2021, 6:50pm UTC](https://community.dynatrace.com/t/rum-brining-the-rum-traffic-to-cluster-active-gate/32156/4 "2021-07-20T18:50:06Z")

</div>

Yes, you would enter the full URL to the LB in the application settings as the (cors) beacon URL.
