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.
16 Jan 2019 07:21 AM
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
16 Jan 2019 07:39 AM
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.
16 Jan 2019 08:29 AM
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
16 Jan 2019 08:36 AM
16 Jan 2019 08:40 AM
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
16 Jan 2019 08:59 AM
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
16 Jan 2019 09:05 AM
Hello @sebastian k.
This make sense but in this situation we are going to have following situations:
Regards,
Babar
16 Jan 2019 09:09 AM
Does your users all using the same computer and browser? If yes they can work in incognito mode but it is only workaround.
Sebastian
16 Jan 2019 09:15 AM
So if they are using different computers there should be no problem.
Sebastian
16 Jan 2019 09:08 AM
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
16 Jan 2019 09:10 AM
Can you show screen? I'm not sure if I understand it correctly.
16 Jan 2019 09:17 AM
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
16 Jan 2019 09:28 AM
Question... if you go from user action to purepath, there you also have client IP address. Is it the same?
Sebastian
16 Jan 2019 10:21 AM
Click on one of user actions => Waterfall analysis => Purepath and check in purepath details IP cought on WebServer.
Sebastian
16 Jan 2019 10:53 AM
I mean this place
16 Jan 2019 11:09 AM
Hello @sebastian k.
Yes. The metadata also has the subnet instead of a unique IP address.
Regards,
Babar
16 Jan 2019 11:30 AM
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
16 Jan 2019 11:54 AM
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
16 Jan 2019 01:56 PM
I've found something in settings:
you can setup from what place Dynatrace will collect IP. (Web & mobile monitoring settings)
Sebastian
16 Jan 2019 02:15 PM
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
16 Jan 2019 02:18 PM
Ok when you will find out what is wrong give me an update. It can be good case for future 🙂
16 Jan 2019 02:22 PM
Hello @sebastian k.
I just disabled the highlighted default enabled settings and expecting to see the unique IP addresses 🙂
Regards,
Babar
16 Jan 2019 02:25 PM
Cool one issue less on the list 😄 But actually this setting is not active by default. So maybe you've switched it accidentally 🙂
Sebastian
16 Jan 2019 02:56 PM
17 Jan 2019 06:17 AM
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
17 Feb 2019 03:36 PM
@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.
21 Mar 2019 03:14 AM
Hello @Pallavi V.
Thank you for your information.
Can you please share the steps with me taken to resolve the issue?
Regards,
Babar
17 Jan 2019 09:54 AM
Hello @sebastian k.
Once again three points to discuss about User Tag.
What can be the reasons behind?
Regards,
Babar
17 Jan 2019 10:10 AM
Sebastian
17 Jan 2019 11:35 AM
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
17 Jan 2019 11:52 AM
All users are using the same browser (type, version)? Are you sure that you have in your cookies proper value?
Sebastian
21 Jan 2019 09:42 AM
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