10 Jul 2024 09:50 AM - last edited on 12 Jul 2024 08:26 AM by GosiaMurawska
How do I filter session replay for one particular user or what filters can I add in session replays? Can I use any unique id generate for every user session to replay that session , in order to see what issue the customer faced at that time.
Solved! Go to Solution.
10 Jul 2024 10:56 AM
You need to create user tagging rule and filter based on user id
https://docs.dynatrace.com/docs/shortlink/user-tagging
10 Jul 2024 01:02 PM
If you dont have a user tag rule created just yet, you can always use their IP to narrow down the user as well as use other constructs like if they have Session replay enabled etc....
12 Jul 2024 10:48 PM
As mentioned above, user tagging and IP are great options. However, if users have Do Not Track enabled and your application is set up to honor that, you will not be able to view the full IP or even capture the user tag.
RUM properties (documentation) are a great option. You can grab text from the page via a CSS selector, grab header values (via Request Attributes captured by OneAgent), JS variables stored on the page or cookies. If you have any sort of session based identifier (eg. JSessionID) or anything more permanent, you can leverage properties to grab that and then use the property filter in the User Session Segmentation screen.