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

SPA Load Action capturing issue

ajay_gupta
Contributor

We are not able to see the load action of single page application, when a user click on any tab like submit or any button.
Also in session only first time load action in being captured or when the page is being refreshed .
Previously with Angular 

4 REPLIES 4

AntonioSousa
DynaMight Guru
DynaMight Guru

@ajay_gupta,

XHR requests are the basis of a SPA application. Have you limited by any means XHR monitoring?

Antonio Sousa

No Not limited , but i dont see load actions in user session its directly showing Page Change for all below actions except the first one.


tyler_rowe
Dynatrace Helper
Dynatrace Helper

If you are seeing only a single load action but multiple page changes, that is an indication that the XHR monitoring is not fully enabled for the application. The browser API will report back a page change/route change (which is why they show up in the session), but because XHR capturing is not enabled, the RUM tag is unable to wrap around those calls to build an action and get full visibility. Recommend checking out the XHR page to validate your settings are correct: https://docs.dynatrace.com/docs/platform-modules/digital-experience/web-applications/initial-setup/c...

ajay_gupta_0-1721040405070.pngajay_gupta_1-1721040445159.png

Already enabled 

Featured Posts