05 Jul 2022 11:42 PM - last edited on 30 Sep 2022 12:42 PM by MaciejNeumann
Hi,
We have noticed that for a mobile app Dynatrace assigns the same name for a user acionS, for instance, we have multiple user actions with the name "touch on Continue" as there are multiple parts in the app where there's a continue button, and it's difficult differenciate those user actions.
is there a way to define custom naming rules for mobile apps? where for example we could add the page title next to the name without having to change all the application parts that contain this action as we do using placeholder for a web application?
I don't see an option to do this in the WebUI, in case there's not, what other options do we have to
accomplish this? is there something we can do with the SDK?
Solved! Go to Solution.
06 Jul 2022 12:27 AM
Hey Alejandro,
There are a couple of ways this should be possible depending on how the application is instrumented and what technology its using. For android/iOS you can find the docs below for changing it using the SDK.
Creating custom actions with custom names
https://www.dynatrace.com/support/help/shortlink/oneagent-sdk-for-android#create-custom-actions
https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#start-and-close-custom-action
Modifying existing actions and reporting custom names/values
https://www.dynatrace.com/support/help/shortlink/dynatrace-android-gradle-plugin-monitoring#modify-a...
https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#modify-auto-actions
Additional docs for other frameworks
https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configura...
If none of this is helpful then might I ask what framework you are using?
06 Jul 2022 01:28 PM
If you are using hybrid Cordova here you go to use OA plugin. You can work on a custom agent as well and refer suggestion from @Fin_Ubels