Hi Dynatrace Community, We have implemented Real User Monitoring (RUM) in my web applications, tagging users with their user ID and email using dtrum.identifyUser() and dtrum.setUserProperties(). However, we’ve noticed that some users are getting tagged correctly while others are not showing up in the Dynatrace dashboard at all.
What I’ve Implemented:
-
If both userId and email exist, I tag using:
-
dtrum.identifyUser(`${userId} (${email})`);
-
If only one value is available, we tag with that value.
-
I also call:
-
dtrum.setUserProperties({ userId, email });
Observed Issue:
- Some users appear in Dynatrace as expected with both ID and email.
- Other users just say Anonymous, even though they are logging into the application.
- There is no pattern in browser type or user role affecting this behavior.
Questions:
- What could cause some users to not be tagged in Dynatrace, even though dtrum.identifyUser() runs?
- Are there Dynatrace settings or limits that could prevent users from appearing?
- Is there a way to force validation that a user has been registered in Dynatrace after calling identifyUser()?
- Would adding additional custom user properties help ensure visibility?
Any insights would be greatly appreciated!
Thanks in advance.