<?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>article Web applications: User action data is missing in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Web-applications-User-action-data-is-missing/ta-p/239500</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P class="sc-gEvEer lcacrh sc-kAyceB kaaxKv sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;If &lt;A href="https://docs.dynatrace.com/docs/shortlink/user-actions" target="_self"&gt;user action&lt;/A&gt; data is missing from your monitored &lt;A href="https://docs.dynatrace.com/docs/shortlink/web-applications-landing" target="_self"&gt;web application&lt;/A&gt;, you can perform the following checks in Google Chrome with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-gsFSXq dMCrLH sc-2d500c67-0 sc-8d216870-1 gPHVzu itVYXR" href="https://developers.google.com/web/tools/chrome-devtools/" target="_blank" rel="noopener noreferrer" data-testid="external-link"&gt;Chrome DevTools&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;open, and then use Chrome DevTools to verify that certain data exists to see if user action data is captured properly. Select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;F12&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to open Chrome DevTools in Chrome.&lt;/P&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL class="sc-fHjqPf koKSxz"&gt;
&lt;LI class="sc-hmdomO cGfQlP"&gt;
&lt;P class="sc-gEvEer lcacrh sc-kAyceB kaaxKv sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Make sure the user action triggers network traffic&lt;/STRONG&gt;. Open the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab in Chrome DevTools, and then clear all requests. Perform the action you would like to check and inspect the action's network traffic. To do this, check the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Type&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;column in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab. If there are no&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type requests, this is not an action and the RUM JavaScript won't report it. Images and CSS information don't count as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and won't cause an action to be generated. If you see no&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;requests, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-iGgWBj bKeKTL sc-8d216870-0 blGczQ" title="Find out how to customize Real User Monitoring using the JavaScript API." href="https://docs.dynatrace.com/docs/shortlink/api-rum" target="_self" data-testid="link"&gt;RUM JavaScript API&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to manually monitor this action.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="sc-hmdomO cGfQlP"&gt;
&lt;P class="sc-gEvEer lcacrh sc-kAyceB kaaxKv sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Make sure the action does not use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setTimeout(async)&lt;/CODE&gt;&lt;/STRONG&gt;. Perform the action you would like to check and use Chrome DevTools to make sure there is an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;request in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab. If an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;request exists, hover over the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Initiator&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;column in that row and see if there is a line that reads&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setTimeout(async)&lt;/CODE&gt;. If that is the case, see if enabling&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;Timed action support&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;helps capture this action. If this does not work, or if the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Initiator&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;contains&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setInterval(async)&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;Promise(async)&lt;/CODE&gt;, manual instrumentation is necessary. See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-iGgWBj bKeKTL sc-8d216870-0 blGczQ" title="Understand why you need to activate specific JavaScript frameworks for XHR-action support and learn how to configure Real User Monitoring for XHR actions." href="https://docs.dynatrace.com/docs/shortlink/capture-xhr-actions#missing-actions-due-to-promises" target="_self" data-testid="link"&gt;Missing XHR actions when promises are used&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for more details.&lt;BR /&gt;&lt;SPAN&gt;The following image shows a typical&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;request in Chrome DevTools, with&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setTimeout(async)&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in the initiator data.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rum-troubleshoot-cors-missingdata1-1279-9f3e001699" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18205i5EDE5C2C764E133B/image-size/large?v=v2&amp;amp;px=999" role="button" title="rum-troubleshoot-cors-missingdata1-1279-9f3e001699" alt="rum-troubleshoot-cors-missingdata1-1279-9f3e001699" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL class="sc-fHjqPf koKSxz"&gt;
&lt;LI class="sc-hmdomO cGfQlP"&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Make sure the correct modules are activated&lt;/STRONG&gt;. Perform the action and use Chrome DevTools to see if the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab contains a request with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type. Enable the correct module—fetch or a more specialized module for fetch, BasicXHR, or a more specialized module for XHR actions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If XHR actions do not have timing information, check whether&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-gsFSXq dMCrLH sc-2d500c67-0 sc-8d216870-1 gPHVzu itVYXR" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin" target="_blank" rel="noopener noreferrer" data-testid="external-link"&gt;Timing-Allow-Origin&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;HTTP response header is set if your page requests resources from other domains. Otherwise, the browser can't supply the values, and they can't be displayed in the&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-iGgWBj bKeKTL sc-8d216870-0 blGczQ" title="Understand how you can access user action detail pages and analyze user actions." href="https://docs.dynatrace.com/docs/shortlink/user-action-analysis#contributors-breakdown-chart-and-waterfall-analysis" target="_self" data-testid="link"&gt;Contributors breakdown chart&lt;/A&gt;&lt;SPAN&gt;. If this happens, a message appears in the chart area stating that network and server time can't be calculated because Dynatrace didn't receive W3C resource timings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rum-troubleshooting-cors-xhrnotimings-1580-51f65a3cd8" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18206iF763F9D9E8C60099/image-size/large?v=v2&amp;amp;px=999" role="button" title="rum-troubleshooting-cors-xhrnotimings-1580-51f65a3cd8" alt="rum-troubleshooting-cors-xhrnotimings-1580-51f65a3cd8" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 08 Apr 2024 13:46:44 GMT</pubDate>
    <dc:creator>maliborskaya</dc:creator>
    <dc:date>2024-04-08T13:46:44Z</dc:date>
    <item>
      <title>Web applications: User action data is missing</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Web-applications-User-action-data-is-missing/ta-p/239500</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P class="sc-gEvEer lcacrh sc-kAyceB kaaxKv sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;If &lt;A href="https://docs.dynatrace.com/docs/shortlink/user-actions" target="_self"&gt;user action&lt;/A&gt; data is missing from your monitored &lt;A href="https://docs.dynatrace.com/docs/shortlink/web-applications-landing" target="_self"&gt;web application&lt;/A&gt;, you can perform the following checks in Google Chrome with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-gsFSXq dMCrLH sc-2d500c67-0 sc-8d216870-1 gPHVzu itVYXR" href="https://developers.google.com/web/tools/chrome-devtools/" target="_blank" rel="noopener noreferrer" data-testid="external-link"&gt;Chrome DevTools&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;open, and then use Chrome DevTools to verify that certain data exists to see if user action data is captured properly. Select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;F12&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to open Chrome DevTools in Chrome.&lt;/P&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL class="sc-fHjqPf koKSxz"&gt;
&lt;LI class="sc-hmdomO cGfQlP"&gt;
&lt;P class="sc-gEvEer lcacrh sc-kAyceB kaaxKv sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Make sure the user action triggers network traffic&lt;/STRONG&gt;. Open the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab in Chrome DevTools, and then clear all requests. Perform the action you would like to check and inspect the action's network traffic. To do this, check the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Type&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;column in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab. If there are no&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type requests, this is not an action and the RUM JavaScript won't report it. Images and CSS information don't count as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and won't cause an action to be generated. If you see no&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;requests, use the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-iGgWBj bKeKTL sc-8d216870-0 blGczQ" title="Find out how to customize Real User Monitoring using the JavaScript API." href="https://docs.dynatrace.com/docs/shortlink/api-rum" target="_self" data-testid="link"&gt;RUM JavaScript API&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to manually monitor this action.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="sc-hmdomO cGfQlP"&gt;
&lt;P class="sc-gEvEer lcacrh sc-kAyceB kaaxKv sc-3b06fd1c-0 ivrEIu" data-testid="paragraph"&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Make sure the action does not use&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setTimeout(async)&lt;/CODE&gt;&lt;/STRONG&gt;. Perform the action you would like to check and use Chrome DevTools to make sure there is an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;request in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab. If an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;request exists, hover over the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Initiator&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;column in that row and see if there is a line that reads&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setTimeout(async)&lt;/CODE&gt;. If that is the case, see if enabling&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;Timed action support&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;helps capture this action. If this does not work, or if the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Initiator&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;contains&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setInterval(async)&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;Promise(async)&lt;/CODE&gt;, manual instrumentation is necessary. See&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-iGgWBj bKeKTL sc-8d216870-0 blGczQ" title="Understand why you need to activate specific JavaScript frameworks for XHR-action support and learn how to configure Real User Monitoring for XHR actions." href="https://docs.dynatrace.com/docs/shortlink/capture-xhr-actions#missing-actions-due-to-promises" target="_self" data-testid="link"&gt;Missing XHR actions when promises are used&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for more details.&lt;BR /&gt;&lt;SPAN&gt;The following image shows a typical&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;request in Chrome DevTools, with&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;setTimeout(async)&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;in the initiator data.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rum-troubleshoot-cors-missingdata1-1279-9f3e001699" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18205i5EDE5C2C764E133B/image-size/large?v=v2&amp;amp;px=999" role="button" title="rum-troubleshoot-cors-missingdata1-1279-9f3e001699" alt="rum-troubleshoot-cors-missingdata1-1279-9f3e001699" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;DIV class="sc-6646062a-0 ivCgmd"&gt;
&lt;UL class="sc-fHjqPf koKSxz"&gt;
&lt;LI class="sc-hmdomO cGfQlP"&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Make sure the correct modules are activated&lt;/STRONG&gt;. Perform the action and use Chrome DevTools to see if the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="sc-bf977b27-0 hNpJEd"&gt;Network&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;tab contains a request with the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;fetch&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="sc-gEvEer fFVnlo sc-eqUAAy bQBxQO" data-testid="code"&gt;xhr&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;type. Enable the correct module—fetch or a more specialized module for fetch, BasicXHR, or a more specialized module for XHR actions.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If XHR actions do not have timing information, check whether&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-gsFSXq dMCrLH sc-2d500c67-0 sc-8d216870-1 gPHVzu itVYXR" href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin" target="_blank" rel="noopener noreferrer" data-testid="external-link"&gt;Timing-Allow-Origin&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;HTTP response header is set if your page requests resources from other domains. Otherwise, the browser can't supply the values, and they can't be displayed in the&amp;nbsp;&lt;/SPAN&gt;&lt;A class="sc-iGgWBj bKeKTL sc-8d216870-0 blGczQ" title="Understand how you can access user action detail pages and analyze user actions." href="https://docs.dynatrace.com/docs/shortlink/user-action-analysis#contributors-breakdown-chart-and-waterfall-analysis" target="_self" data-testid="link"&gt;Contributors breakdown chart&lt;/A&gt;&lt;SPAN&gt;. If this happens, a message appears in the chart area stating that network and server time can't be calculated because Dynatrace didn't receive W3C resource timings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rum-troubleshooting-cors-xhrnotimings-1580-51f65a3cd8" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18206iF763F9D9E8C60099/image-size/large?v=v2&amp;amp;px=999" role="button" title="rum-troubleshooting-cors-xhrnotimings-1580-51f65a3cd8" alt="rum-troubleshooting-cors-xhrnotimings-1580-51f65a3cd8" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 08 Apr 2024 13:46:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Web-applications-User-action-data-is-missing/ta-p/239500</guid>
      <dc:creator>maliborskaya</dc:creator>
      <dc:date>2024-04-08T13:46:44Z</dc:date>
    </item>
  </channel>
</rss>

