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
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.
- As per the documentation “Due to the 30-min timeout, finished user sessions don’t immediately appear in User sessions view. Finished sessions appear only after 30 minutes.” What about live sessions? I have done a complete practice session and even after many minutes past, my session is not appearing in the form of user tag or anonymous.
- Secondly, 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
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:
- How to tell users to clear browser cookies
- Number of sessions will be less than the actual count
- Successfully logged-in conversion goal will also impact
Regards,
Babar
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
Does your users all using the same computer and browser? If yes they can work in incognito mode but it is only workaround.
Sebastian
Can you show screen? I’m not sure if I understand it correctly.
Hello @sebastian k.
It is an e-channel application and used by 1000 of unique users.
Regards,
Babar
So if they are using different computers there should be no problem.
Sebastian
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
Hello @sebastian k.
Are you talking about below information?
Regards,
Babar
Click on one of user actions => Waterfall analysis => Purepath and check in purepath details IP cought on WebServer.
Sebastian
Hello @sebastian k.
I tried few user actions but could not find the IP address.
Regards,
Babar
Hello @sebastian k.
Yes. The metadata also has the subnet instead of a unique IP address.
Regards,
Babar