We have single page applications with a fixed URL like for instance /capacity/app (the used framework is based on Echo 2). The user action visits are logged in the form
Clicked "Search" on /capacity/app
giving us no information about the current screen. We assume that "/capacity/app" is retrieved from "location.href" of the frame but we have no clean way of making "location.href" aware of the current screen. We can however make this screen name available in the DOM as an attribute or the hidden field. The screen name is also available in the server side session.
Is there a possibility to instruct dynatrace to fetch the current screen information from another place than "location.href" of the frame? Either client or server side. Or can we use the Javascript SDK to achieve this goal?
Thanks,
Johan
Answer by Andreas G. ·
Hi. Check out the following and let me know if this helps: JavaScript Agent#ActionNameDetection
JANUARY 15, 3:00 PM GMT / 10:00 AM ET