# User session captured as anonymous hence want help in user tagging

**URL:** <https://community.dynatrace.com/t/user-session-captured-as-anonymous-hence-want-help-in-user-tagging/8710>\
**Category:** Real User Monitoring\
**Tags:** user-sessions\
**Created:** [October 25, 2017, 9:29am UTC](https://community.dynatrace.com/t/user-session-captured-as-anonymous-hence-want-help-in-user-tagging/8710 "2017-10-25T09:29:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sareens](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@sareens](https://community.dynatrace.com/u/sareens)\
**Post date:** [October 25, 2017, 9:29am UTC](https://community.dynatrace.com/t/user-session-captured-as-anonymous-hence-want-help-in-user-tagging/8710/1 "2017-10-25T09:29:35Z")

</div>

[capture.png](https://answers.dynatrace.com/storage/attachments/14486-capture.png)Hello,

There is a web application. Finding difficulty to identity appropriate user tag for the same so that I can avoid anonymous session. I am attaching the screenshot of the HTML source file after user get login. Can anyone suggest expression type, and what to select? also any cleanup rule.

---

<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:** [February 28, 2018, 7:55am UTC](https://community.dynatrace.com/t/user-session-captured-as-anonymous-hence-want-help-in-user-tagging/8710/2 "2018-02-28T07:55:29Z")

</div>

I believe this issue is not open anymore, but getting the user name out of an URL is not possible at the moment. You can use our JavaScript API or dry to find a css selector to extract the user name
