question

Develomenttools S. avatar image
Develomenttools S. asked ·

Web request not connected to a user action.

Hi ,

We have few web requests that is not connected to a user action.

Seemingly there are some async calls which is going on after the respective user action is ended.

And these web requests are not connected to any user action.

Do we have a way to fix it ? A way to link the web request to a user action using a ID or something?

configuration6.5monitoringuemmobile monitoringsensordiagnosticsnodejs
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Cody K. avatar image
Cody K. answered ·

Hi,

Would you be able to provide a screenshot? There can be web requests within a visit that are not tied to a user action, and that can be the correct behavior, especially if it's a small amount of requests.

First, I would double check your UEM settings for Web Applications to make sure that all the modules your App uses are selected (AngularJS, jQuery, etc.) as this can cause user actions to be missed.

Second, it would help if you are able to generate controlled visits yourself, that way you can list all the clicks and page navigations you make, and easily deduce what is and what is not showing as a user action. It is possible that some pages in your app have a structure that is not injecting the JS agent.

Thanks,

-Cody

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Babar Q. avatar image
Babar Q. answered ·

Hello,

You should check the firewall constraints for UEM.

HTTP Headers
x-dtPC: In case of parallel XHR requests the JavaScript agent has to set this header which is used by the correlation to link web requests correctly to user actions.

Cookies
dtPC: Page context cookie used to link web requests to user actions.

https://community.dynatrace.com/community/display/...

Regards,

Babar

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.