06 May 2021 06:05 AM - last edited on 15 Jul 2022 01:50 AM by MaciejNeumann
We use Dynatrace within a React Native Mobile App.
We have followed the “Detailed React Native” instructions. - https://www.npmjs.com/package/@dynatrace/react-native-plugin.
Which states we can call the identifyUser method.
This is called once the user is logged in and hence we know their name.
However, our client is still seeing a lot of anonymous sessions.
Am I correct in assuming that an anonymous session will convert into an identified sessions once we call this method? Eg the app is initially opened and the user has not yet logged in. They log in and then we identify them.
Are there any other steps we need to do to identify the user?
Solved! Go to Solution.
Based on your description of the problem, it could be that your Privacy config on Dynatrace could be clashing with the Identify User. I suggest that you check the configuration https://www.dynatrace.com/support/help/shortlink/section-data-privacy-and-security
Keep in mind that this will not be carried over to new session (e.g. if app is restarted), so this has to be set again when an app relaunches, even if user login is cached.