# Mobile Action Naming Rules

**URL:** <https://community.dynatrace.com/t/mobile-action-naming-rules/32015>\
**Category:** Real User Monitoring\
**Tags:** user-actions, mobile-monitoring\
**Created:** [July 6, 2021, 1:55pm UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015 "2021-07-06T13:55:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![melorymonie](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@melorymonie](https://community.dynatrace.com/u/melorymonie)\
**Post date:** [July 6, 2021, 1:55pm UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015/1 "2021-07-06T13:55:29Z")

</div>

Hi,

Is there a way to change the Action Name for mobile application in a more generic way?

For example:

Customer has an action called “Continue”, and this action appears in different sections of the application, is there a way to add the “Page Title” next to the name without having to change all the application parts that contain this action like we do using placeholder for a web application?

Thanks,

Melory

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [August 3, 2021, 2:13pm UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015/2 "2021-08-03T14:13:23Z")

</div>

[@melorymonie](https://community.dynatrace.com/user/42247)&nbsp;were you able to get a solution in place for this?

---

<div class="post-metadata">

**Author:** ![melorymonie](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@melorymonie](https://community.dynatrace.com/u/melorymonie)\
**Post date:** [August 20, 2021, 12:42pm UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015/3 "2021-08-20T12:42:29Z")

</div>

Hi Chad,

No. I didn’t find a way to do that. The customer is customizing each action name by it’s own.

---

<div class="post-metadata">

**Author:** ![Jack\_Stuart](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jack_stuart/32/34583_2.png) [@Jack\_Stuart](https://community.dynatrace.com/u/Jack_Stuart)\
**Post date:** [November 8, 2021, 1:38pm UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015/4 "2021-11-08T13:38:35Z")

</div>

having some placeholders we could use in a naming rule would come in really handy here

---

<div class="post-metadata">

**Author:** ![alejandro\_herna](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alejandro_herna/32/10062_2.png) [@alejandro\_herna](https://community.dynatrace.com/u/alejandro_herna)\
**Post date:** [July 5, 2022, 11:22pm UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015/5 "2022-07-05T23:22:28Z")

</div>

Still no solution to this?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [July 6, 2022, 6:51am UTC](https://community.dynatrace.com/t/mobile-action-naming-rules/32015/6 "2022-07-06T06:51:45Z")

</div>

Mobile apps are different and there is not a generic way how to obtain user action metadata due to mobile app design. User action naming rules can help you with modifying the name, but generally the naming must be done in the mobile application itself - and “baked” into the application itself.

If you use auto-instrumentation, **for the automatically detected user actions** you can use:

- [contentdescription / Jetpack Compose semantic attributes (Android)](https://www.dynatrace.com/support/help/shortlink/dynatrace-android-gradle-plugin-monitoring#user-action-naming)&nbsp; or [dtx\* fields (iOS)](https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#custom-control-names)&nbsp;- to differentiate the user action names easily without writing code, just set those fields and OneAgent will use the value for user action naming if it is present
- [modifyUserAction (Android)](https://www.dynatrace.com/support/help/shortlink/dynatrace-android-gradle-plugin-monitoring#modify-auto-actions) or [modifyUserAction (iOS)](https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#modify-specific-auto-action) - to modify autodetected action and generate your own name from your code.
- use the [callback function (Android)](https://www.dynatrace.com/support/help/shortlink/dynatrace-android-gradle-plugin-monitoring#modify-auto-actions) or&nbsp;[callback function (iOS)](https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#modify-any-auto-action) (from 1.241)&nbsp; to define a callback which will be called on each autogenerated user action.

**For manually created user actions** using Dynatrace.enterAction() the name is specified as method argument. Options above do not apply for manually created user actions.
