16 Jan 2019
06:17 AM
- last edited on
30 Sep 2022
01:04 PM
by
MaciejNeumann
Dear All,
We are trying to get a user tag from the cookie and for that purpose we found the name (loginid=) in the cookie and wrote a regex (loginid.(.?\d+)) for the cleanup rule but even though anonymous user sessions are appearing.
Below screenshots are for the reference to configuration.
Regards,
Babar
Solved! Go to Solution.
Hello Babar,
are you sure that all of those anonymous users has been signed in an have this cookie value? I have never had a problem that value was available and Dynatrace doesn’t detect it. You can always make experiment and disable cleanup rule to check if this help (just experiment)
Sebastian
Also depends if you use persistent cookies to identify recurring users or not. In this case, you can see some sessions as anonymous (on the main screen), but they have user tag assigned. Since their first session was initiated and completed before you have set the userTag extraction from cookie values.
Hello @sebastian k. and @Julius L.
Thank you for your answers. Now the user tagging is working because = sign in the cookie value was additional.
Two more following things wanted to ask.
Regards,
Babar
Hello @sebastian k.
Persistent cookie for user tracking is enabled and I found that my new session joined the existing anonymous completed session. Why?
Regards,
Babar
Dynatrace detects cookie that has been left in your browser I think. There is also possibility to have multiple user tags in the same session when somebody will logout and login to different user without closing browser os clearing cookies.
Sebastian
Hello @sebastian k.
This make sense but in this situation we are going to have following situations:
Regards,
Babar
Does your users all using the same computer and browser? If yes they can work in incognito mode but it is only workaround.
Sebastian
So if they are using different computers there should be no problem.
Sebastian
Hello @sebastian k. and @Julius L.
Any thoughts about the below situation?
Public and private IP addresses are capturing in the form of subset instead of an IP address e.g. 82.212.85.0 & 10.50.81.0
Regards,
Babar
Can you show screen? I'm not sure if I understand it correctly.
Hello @sebastian k.
In the below screenshot you can see that IP address captured as a subnet instead of a unique IP address.
Regards,
Babar
Question... if you go from user action to purepath, there you also have client IP address. Is it the same?
Sebastian
Click on one of user actions => Waterfall analysis => Purepath and check in purepath details IP cought on WebServer.
Sebastian
I mean this place
Hello @sebastian k.
Yes. The metadata also has the subnet instead of a unique IP address.
Regards,
Babar
Strange... @Babar Q. you have not easy task with this POC i think. Maybe open support ticket for this because actually I have no idea why it happens like this. But there must be some reason in configuration of environment that it is behaving like this.
Sebastian
Hello @sebastian k.
Thank you for all your passions 🙂
I will open a support case and will make sure to update the post in case they can understand and resolve the situation.
Regards,
Babar
I've found something in settings:
you can setup from what place Dynatrace will collect IP. (Web & mobile monitoring settings)
Sebastian
Hello @sebastian k.
Thank you for your continues effort with me to understand the situation. Below screenshot is from the AppMon for determining the client IP address and the same headers I can see in your shared screenshot (on my side this is also the same). Unique IP addresses are available for the ApppMon but not for Dynatrace. Maybe the same header with different sequence will work for Dynatrace.
Regards,
Babar
Ok when you will find out what is wrong give me an update. It can be good case for future 🙂
Hello @sebastian k.
I just disabled the highlighted default enabled settings and expecting to see the unique IP addresses 🙂
Regards,
Babar
Cool one issue less on the list 😄 But actually this setting is not active by default. So maybe you've switched it accidentally 🙂
Sebastian
Hello @Alexander S.
Thank you for your comments. During POC we disabled the persistent cookie but encountered with a strange situation.
In the below screenshot a live session has an IP address with a user tag.
In the same session, there are multiple user tags with different IDs.
What can be the issue?
Regards,
Babar
@Babar Q. Hi.. were you able to find out way out for the above issue ? Even am facing the same issue for one of the web application. I can see multiple user tagging under one user session, also there IP addresses and browser family, versions are different, still the users are merged under one user session.
Hello @Pallavi V.
Thank you for your information.
Can you please share the steps with me taken to resolve the issue?
Regards,
Babar
Hello @sebastian k.
Once again three points to discuss about User Tag.
What can be the reasons behind?
Regards,
Babar
Sebastian
Hello @sebastian k.
No, without any filtration.
I see the tags for some other people but not mine and it always shows anonymous even after clearing the cookies (just to exhaust the option).
Yes many of them have user tags.
Regards,
Babar
All users are using the same browser (type, version)? Are you sure that you have in your cookies proper value?
Sebastian
Hello @sebastian k.
As per my understanding cookie value and clean up rule is correct, therefore, user ID is capturing for few of them.
I tried with the IE, Chrome, Firefox but no tagging even some people have the same OS and Browser version like me and user tag is working for them.
Regards,
Babar