<?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: RUM Javascript API in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218449#M4513</link>
    <description>&lt;P&gt;Hey Weilin&lt;/P&gt;
&lt;P&gt;1. The API is provided by the snippet so you're directly interacting with the snippet to force it to report back what you want it to (if I understand it correctly). If you want to test it you can add the snippet to a test site and then open the developer console (f12 console) and type dtrum.someAPIMethod(etc etc). Then once you're satisfied with the result you can bake it into your application.&lt;/P&gt;
&lt;P&gt;2. I wasn't suggesting that you leave it empty but you can provide any value, so it doesn't have to contain sensitive data, it can contain whatever you want it to contain such as "Blank" or "NondescriptActionName". Also, you can modify action name layouts using placeholders and plain text to customize them even further.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1689733180243.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13040i6177A61C7D2C370A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1689733180243.png" alt="Fin_Ubels_0-1689733180243.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jul 2023 02:21:18 GMT</pubDate>
    <dc:creator>Fin_Ubels</dc:creator>
    <dc:date>2023-07-19T02:21:18Z</dc:date>
    <item>
      <title>RUM Javascript API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218015#M4504</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to find out if the mode of data collection when using RUM JavaScript API is the same as inserting a JavaScript Tag snippet into the HTML page? Do data from into Dynatrace the same way or is this another route?&lt;/P&gt;
&lt;P&gt;The reason for using RUM JavaScript API is because i have user interaction that does not trigger a web request and is not registered by Dynatrace as a user action, hence i would like to use the Custom Action. For Custom Action would the web user action masking capability be applicable as well?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 07:39:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218015#M4504</guid>
      <dc:creator>WeilinT</dc:creator>
      <dc:date>2023-07-14T07:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: RUM Javascript API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218444#M4511</link>
      <description>&lt;P&gt;Hey Weilin,&lt;/P&gt;
&lt;P&gt;The RUM JavaScript API requires the snippet to exist to be used so the data is ingested the same way. If you have the snippet then if you use the API to add additional actions or data then you'll just be enriching new user sessions with more data.&lt;/P&gt;
&lt;P&gt;Regarding masking, yes masking still applies to custom actions but you also supply information like the action name so if you don't want data to show up don't provide it.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 23:41:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218444#M4511</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2023-07-18T23:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: RUM Javascript API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218447#M4512</link>
      <description>&lt;P&gt;Hi Fin_Ubels,&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thanks for you reply, this is really useful.&amp;nbsp;But i just want to understand a little more:&lt;/P&gt;&lt;P data-unlink="true"&gt;1. Understand that the javascript snippet is still required, but how does this API works? Does it store these action data as a variable and pass them to Dynatrace using the javascript snippet?&lt;/P&gt;&lt;P data-unlink="true"&gt;2. Custom user action, from the &lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#enterAction" target="_self"&gt;documentation (and also appended below)&lt;/A&gt;, actionName is not an optional field, but i will still be able to leave it as empty? How will it show up in the Dynatrace portal? like "Click on &amp;lt;DIV&amp;gt; on page /home"?&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;would love to test this out myself, but unfortunately my trial account has expired.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thanks for your help so far and look forward to hearing back from you.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;enterAction&lt;SPAN class=""&gt;(&lt;/SPAN&gt;actionName&lt;SPAN class=""&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;string&lt;/SPAN&gt;, actionType&lt;SPAN class=""&gt;?:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;string&lt;/SPAN&gt;, startTime&lt;SPAN class=""&gt;?:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;number&lt;/SPAN&gt;, sourceUrl&lt;SPAN class=""&gt;?:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;string&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;number&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Enters a new custom action. Use to set the load start event for a new custom action. Needs to be called before&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#leaveAction" target="_blank" rel="noopener"&gt;leaveAction&lt;/A&gt;, which closes the custom action.&lt;/P&gt;&lt;/DIV&gt;see&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#leaveAction" target="_blank" rel="noopener"&gt;leaveAction&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;H4&gt;Parameters&lt;/H4&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;H5&gt;actionName:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;string&lt;/SPAN&gt;&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Name of the action&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;H5&gt;&lt;SPAN class=""&gt;Optional&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;actionType:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;string&lt;/SPAN&gt;&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;DEPRECATED: not used any more and has no effect if provided&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;H5&gt;&lt;SPAN class=""&gt;Optional&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;startTime:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;number&lt;/SPAN&gt;&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Timestamp in milliseconds. if null, current time is used.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;H5&gt;&lt;SPAN class=""&gt;Optional&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sourceUrl:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;string&lt;/SPAN&gt;&lt;/H5&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Source url for the action&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 19 Jul 2023 01:10:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218447#M4512</guid>
      <dc:creator>WeilinT</dc:creator>
      <dc:date>2023-07-19T01:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: RUM Javascript API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218449#M4513</link>
      <description>&lt;P&gt;Hey Weilin&lt;/P&gt;
&lt;P&gt;1. The API is provided by the snippet so you're directly interacting with the snippet to force it to report back what you want it to (if I understand it correctly). If you want to test it you can add the snippet to a test site and then open the developer console (f12 console) and type dtrum.someAPIMethod(etc etc). Then once you're satisfied with the result you can bake it into your application.&lt;/P&gt;
&lt;P&gt;2. I wasn't suggesting that you leave it empty but you can provide any value, so it doesn't have to contain sensitive data, it can contain whatever you want it to contain such as "Blank" or "NondescriptActionName". Also, you can modify action name layouts using placeholders and plain text to customize them even further.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1689733180243.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13040i6177A61C7D2C370A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1689733180243.png" alt="Fin_Ubels_0-1689733180243.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 02:21:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218449#M4513</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2023-07-19T02:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: RUM Javascript API</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218592#M4519</link>
      <description>&lt;P&gt;Thanks for your clarification!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 01:29:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/RUM-Javascript-API/m-p/218592#M4519</guid>
      <dc:creator>WeilinT</dc:creator>
      <dc:date>2023-07-20T01:29:04Z</dc:date>
    </item>
  </channel>
</rss>

