<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to group autogenerated actions through different languages? in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216865#M4660</link>
    <description>&lt;P&gt;That works if OneAgent doesn't put anything at the end.&lt;/P&gt;&lt;P&gt;So let's say that I have the below strings in my project:&lt;/P&gt;&lt;P&gt;"key_register" = "Register"&lt;BR /&gt;"key_turn_on" = "Turn on"&lt;BR /&gt;"key_how_are_you" = "How are you?"&lt;/P&gt;&lt;P&gt;Then if the user taps on for example the 3rd one OneAgent will log: "Touch on How are you?" as you suggest I can do a simple pattern matching to check what's after "Touch on ", then it'll work. I already did that in my project.&lt;/P&gt;&lt;P&gt;However I found that there are logs of OneAgent where it puts some words to the end of the string as well. For example if my sub-screen's title is "How are you?" and I press the back button on that screen then OneAgent will log: "Touch on How are you? Back". So using my above logic (check what is after "Touch on "), I'll try to translate: "How are you? &lt;STRONG&gt;Back&lt;/STRONG&gt;". As "Back" isn't part of my string, I won't find it and won't be able to use a common language for logging with OneAgent. So for example in German "How are you?" is "Wie geht's?" meaning that for German users who tap back on this screen I'd log: "Touch on Wie geht's? Back" but for English users I'd log: "Touch on How are you? Back", however the two actions are the same.&lt;/P&gt;&lt;P&gt;So I'd need to check in&amp;nbsp;&lt;SPAN&gt;setAutoUserActionCreationCallback not just every string that starts with "Touch on ", but other variations as well, where at the end of the string there's "Back", so I won't try to translate the whole string, but the part between "Touch on " and "Back".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I could write the logic already for that, but as this is only based on my heuristic research I cannot be sure that there aren't other variations. So if OneAgent might log at the end "action button" then I'd need to know that to have a proper pattern matching logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know that this sounds a little hairsplitting, but our goal is to use the same language for all kind of logs to have meaningful usage dashboards.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 09:15:25 GMT</pubDate>
    <dc:creator>grabz</dc:creator>
    <dc:date>2023-07-04T09:15:25Z</dc:date>
    <item>
      <title>How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/214596#M4655</link>
      <description>&lt;P&gt;Our iOS application is used in different languages, thus the same button has different labels in different languages. For example a button might be labeled as "Register" in English, and "Registrieren" in German (+ other way in other languages), so in Dynatrace User Session Dashboard I'll see these as different actions: "Touch on Register", "Touch on&amp;nbsp;Registrieren".&lt;/P&gt;
&lt;P&gt;This is okay in user session analysing but it causes problems on action based dashboard creation, since (as far as I found) there's no way to group these.&lt;/P&gt;
&lt;P&gt;I found the naming rule here:&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/platform-modules/digital-experience/mobile-applications/instrument-ios-app/customization/oneagent-sdk-for-ios#user-action-naming" target="_blank" rel="noopener"&gt;User action naming&lt;/A&gt;, this says that unfortunately there's no way to use a generic title as the all the possible values are user language dependent. I'd report it as a bug, if there's no realistic workaround.&lt;/P&gt;
&lt;P&gt;I found that we could one by one overwrite every tappable UI element's autogenerated action, but I find this cumbersome and was hoping to have a different way to resolve this.&lt;/P&gt;
&lt;P&gt;Is there a way to use a non-user language dependent action name for tappable items without the need to change every tappable item? Taking the above registering example: both German and English should be logged as "Touch on Register", even if the button label in German is "Registrieren".&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 10:11:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/214596#M4655</guid>
      <dc:creator>grabz</dc:creator>
      <dc:date>2023-06-12T10:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/214678#M4656</link>
      <description>&lt;P&gt;Currently there only is the option to change the name of user actions by evaluating all of them. But there is a centralized approach to do so:&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#modify-any-auto-action" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#modify-any-auto-action&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you need something different please create a &lt;A href="https://community.dynatrace.com/t5/Product-ideas/idb-p/DynatraceProductIdeas" target="_self"&gt;request for enhancement/product idea (RFE)&lt;/A&gt;&lt;BR /&gt;Bear in mind that when we read the label of buttons, we also do not have context of what the non-translated text would be - so we could detect the language the app is set to, but we do not have a way to report a generic name for a control's label.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 06:23:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/214678#M4656</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2023-06-12T06:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216063#M4657</link>
      <description>&lt;P&gt;thank you Patrick! I found the link you shared for&amp;nbsp;&lt;SPAN&gt;setAutoUserActionCreationCallback. We'll give this a try, but I might still open an RFE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 09:23:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216063#M4657</guid>
      <dc:creator>grabz</dc:creator>
      <dc:date>2023-06-26T09:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216811#M4658</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/31862"&gt;@Patrick_H&lt;/a&gt;, to setup&amp;nbsp;&lt;SPAN&gt;setAutoUserActionCreationCallback properly I'd need to know every possible variations of the default strings that are logged. E.g.: "Touch on &amp;lt;string&amp;gt;", "Touch on&amp;lt;string&amp;gt; Back", "Touch on&amp;lt;string&amp;gt; something" etc. Could you please provide such a list?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 14:03:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216811#M4658</guid>
      <dc:creator>grabz</dc:creator>
      <dc:date>2023-07-03T14:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216854#M4659</link>
      <description>&lt;P&gt;Why so complicated? You can just use pattern matching/RegEx or prefix checking (e.g. if a string starts with "Touch on"). Or is there a Pattern where this would not work for you?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 05:34:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216854#M4659</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2023-07-04T05:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216865#M4660</link>
      <description>&lt;P&gt;That works if OneAgent doesn't put anything at the end.&lt;/P&gt;&lt;P&gt;So let's say that I have the below strings in my project:&lt;/P&gt;&lt;P&gt;"key_register" = "Register"&lt;BR /&gt;"key_turn_on" = "Turn on"&lt;BR /&gt;"key_how_are_you" = "How are you?"&lt;/P&gt;&lt;P&gt;Then if the user taps on for example the 3rd one OneAgent will log: "Touch on How are you?" as you suggest I can do a simple pattern matching to check what's after "Touch on ", then it'll work. I already did that in my project.&lt;/P&gt;&lt;P&gt;However I found that there are logs of OneAgent where it puts some words to the end of the string as well. For example if my sub-screen's title is "How are you?" and I press the back button on that screen then OneAgent will log: "Touch on How are you? Back". So using my above logic (check what is after "Touch on "), I'll try to translate: "How are you? &lt;STRONG&gt;Back&lt;/STRONG&gt;". As "Back" isn't part of my string, I won't find it and won't be able to use a common language for logging with OneAgent. So for example in German "How are you?" is "Wie geht's?" meaning that for German users who tap back on this screen I'd log: "Touch on Wie geht's? Back" but for English users I'd log: "Touch on How are you? Back", however the two actions are the same.&lt;/P&gt;&lt;P&gt;So I'd need to check in&amp;nbsp;&lt;SPAN&gt;setAutoUserActionCreationCallback not just every string that starts with "Touch on ", but other variations as well, where at the end of the string there's "Back", so I won't try to translate the whole string, but the part between "Touch on " and "Back".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I could write the logic already for that, but as this is only based on my heuristic research I cannot be sure that there aren't other variations. So if OneAgent might log at the end "action button" then I'd need to know that to have a proper pattern matching logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I know that this sounds a little hairsplitting, but our goal is to use the same language for all kind of logs to have meaningful usage dashboards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 09:15:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216865#M4660</guid>
      <dc:creator>grabz</dc:creator>
      <dc:date>2023-07-04T09:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216869#M4661</link>
      <description>&lt;P&gt;so when you want to map all languages to one for having same user action name, would&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#custom-control-names" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/ios-oneagent-sdk#custom-control-names&lt;/A&gt;&amp;nbsp;work out for you - there you could assign a custom name for any control&lt;BR /&gt;&lt;BR /&gt;as for prefix postfix I know of&lt;BR /&gt;"Touch on" ....&lt;BR /&gt;"Touch on" .... " Back"&lt;BR /&gt;and&lt;BR /&gt;"Touch on" .... "@j:k" - where the @ part is the indexpath of e.g. a table cell&lt;BR /&gt;but this could change with newly supported controls...&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 10:36:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216869#M4661</guid>
      <dc:creator>Patrick_H</dc:creator>
      <dc:date>2023-07-04T10:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to group autogenerated actions through different languages?</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216870#M4662</link>
      <description>&lt;P&gt;Thanks Patrick. I stick with the&amp;nbsp;&lt;SPAN&gt;setAutoUserActionCreationCallback to not pollute the code too much&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 10:44:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/How-to-group-autogenerated-actions-through-different-languages/m-p/216870#M4662</guid>
      <dc:creator>grabz</dc:creator>
      <dc:date>2023-07-04T10:44:23Z</dc:date>
    </item>
  </channel>
</rss>

