# RUM JS not collecting user agent location

**URL:** <https://discuss.elastic.co/t/rum-js-not-collecting-user-agent-location/310993>\
**Category:** User Experience\
**Created:** [July 29, 2022, 2:26pm UTC](https://discuss.elastic.co/t/rum-js-not-collecting-user-agent-location/310993 "2022-07-29T14:26:08Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Alberto\_Delgado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alberto_delgado/32/98488_2.png) [@Alberto\_Delgado](https://discuss.elastic.co/u/Alberto_Delgado)\
**Post date:** [September 20, 2022, 3:16pm UTC](https://discuss.elastic.co/t/rum-js-not-collecting-user-agent-location/310993/21 "2022-09-20T15:16:03Z")

</div>

@marone, now that I'm reading that your users will use a VPN I don't think you need to set the **capture\_personal\_data** to **false** but I'm not entirely sure based on the text below:

I don't know how your VPN works exactly. How is your VPN handling the IP addresses? Are your users able to select the country where they come from? At the end of the day if that public IP address is the one exposed then you will see the proper regions in Kibana UI.

If possible I would recommend you to try to access to the website using the VPN as your users would do and see then the information available, logs, etc.

I hope this can give you a steer to what to do.

Thanks,  
Alberto

---

<div class="post-metadata">

**Author:** ![marone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marone/32/87145_2.png) [@marone](https://discuss.elastic.co/u/marone)\
**Post date:** [September 21, 2022, 1:04pm UTC](https://discuss.elastic.co/t/rum-js-not-collecting-user-agent-location/310993/22 "2022-09-21T13:04:21Z")

</div>

Thanks a lot @Alberto_Delgado and others for your support. Sure that's what I will do, thanks again!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 19, 2022, 1:05pm UTC](https://discuss.elastic.co/t/rum-js-not-collecting-user-agent-location/310993/23 "2022-10-19T13:05:09Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.

[Previous page](https://discuss.elastic.co/t/rum-js-not-collecting-user-agent-location/310993.md?page=1)
