cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

In User Session Tab some of the usernames are appearing as Anonymous

jsam2
Newcomer

In User Session Tab some of the usernames are appearing as Anonymous, any workaround/resolution for this?

4 REPLIES 4

skrystosik
DynaMight Guru
DynaMight Guru

It will work like this if for those sessions user tag will be unavaiilable. You have to be sure that all anonymous are logged in. Another thing it’s that if you are taking user tag value from place that is not accessed by all singed in users, it also be like in you case. What rule you are using?

Regards,

Sebastian


Regards, Sebastian

jsam2
Newcomer

PFA screenshot of rule I'm using


This rule will only work for users that has this element available and have value in it. If some of them are not signed in etc their sessions will be anonymous.


Regards, Sebastian

pahofmann
DynaMight Guru
DynaMight Guru

The most reliable solution to always get a user tag is to call dtrum.identifyUser("YourUserTag") via the JavaScript API of the agent.

If you use a CSS Selector that is only on a specific page for example, the user tag is only picked up if the user visits that page.

Using JavaScript variable that is always present would be another option.


Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

Featured Posts