<?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: Catch actionId with dtrum for autodetected XHR in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/262545#M6464</link>
    <description>&lt;P&gt;I believe this could be achieved with action listeners detailed here&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#addEnterActionListener" target="_blank"&gt;https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#addEnterActionListener&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is an example of listener usage here&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/The-difference-between-addEnterActionListener-vs/m-p/230078" target="_blank"&gt;https://community.dynatrace.com/t5/Real-User-Monitoring/The-difference-between-addEnterActionListener-vs/m-p/230078&lt;/A&gt;&lt;/P&gt;&lt;P&gt;While this is an old thread, hope this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 01:06:55 GMT</pubDate>
    <dc:creator>Fin_Ubels</dc:creator>
    <dc:date>2024-11-15T01:06:55Z</dc:date>
    <item>
      <title>Catch actionId with dtrum for autodetected XHR</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/224711#M5319</link>
      <description>&lt;P&gt;Hello folks!&lt;/P&gt;
&lt;P&gt;I am trying to instrument web app with dtrum now and I have simple question.&lt;/P&gt;
&lt;P&gt;I want to add additional information to XHR action (for example "click on&amp;nbsp;purchase").&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Customer really want to save auto-detection XHR actions instead create custom action.&lt;/P&gt;
&lt;P&gt;There is no problem to get actionID when we create custom action with dtrum:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;var someactionid = dtrum.enterAction('SomeAction');&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var&amp;nbsp; &lt;STRONG&gt;someactionid&amp;nbsp;&lt;/STRONG&gt;will have value of our actionId.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this we can send additional user action property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;function addDoubleProperties(actionId) {
dtrum.addActionProperties(actionId, null, null, dbl);
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But what can I do in case that this action not custom - just regular normal autodetected XHR action.&lt;/P&gt;
&lt;P&gt;I can't use workaround to have user session prop instead user action property. I need to have exactly user action prop.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Alex Romanenkov&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 11:15:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/224711#M5319</guid>
      <dc:creator>Romanenkov_Al3x</dc:creator>
      <dc:date>2023-12-13T11:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Catch actionId with dtrum for autodetected XHR</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/262434#M6461</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51881"&gt;@Romanenkov_Al3x&lt;/a&gt;&amp;nbsp;- very interesting need. Were you able to come up with any work arounds for this? All I can think of leveraging the action property to capture and set the value per action with the needed clean up rules etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 13:02:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/262434#M6461</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-11-14T13:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Catch actionId with dtrum for autodetected XHR</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/262545#M6464</link>
      <description>&lt;P&gt;I believe this could be achieved with action listeners detailed here&amp;nbsp;&lt;A href="https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#addEnterActionListener" target="_blank"&gt;https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html#addEnterActionListener&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is an example of listener usage here&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Real-User-Monitoring/The-difference-between-addEnterActionListener-vs/m-p/230078" target="_blank"&gt;https://community.dynatrace.com/t5/Real-User-Monitoring/The-difference-between-addEnterActionListener-vs/m-p/230078&lt;/A&gt;&lt;/P&gt;&lt;P&gt;While this is an old thread, hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 01:06:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Catch-actionId-with-dtrum-for-autodetected-XHR/m-p/262545#M6464</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-11-15T01:06:55Z</dc:date>
    </item>
  </channel>
</rss>

