cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is it possible to enable Javascript Agent tracking all XHR requests, not only those which are bound to user actions?

dzianis_shutiko
Newcomer

Hello.

Javascript Agent code tracks XHR queries only after some user action (for example, mouse click). But our application sends multiple XHR requests that aren't bound with the user's actions (e.g. polling for data). Such queries are not reflected in the collected metrics. Is it possible to enable Javascript Agent tracking all XHR requests, not only those which are bound to user actions?


3 REPLIES 3

Philipp_Kastner
Dynatrace Pro
Dynatrace Pro

Hi Denis,

you could activate unlinked XHR detection in the advanced setup of your applications. Use the property cux=1 (see screenshot)

Be aware that if activated a lot of data might be captured which you might not really be interested in 🙂

Kind regards, Philipp


is it possible to customise behaviour? e.g. exclude some requests from recording as actions in this case e.g. GA request or facebook pixels

dzianis_shutiko
Newcomer

Thank you a lot!


Featured Posts