We have recently installed OneAgent (Dynatrace Managed deployment) into the production environment of one of the applications here onsite, and have been having trouble with the user sessions.
User sessions are appearing to have short durations with a very short time span occurring between them (As if they are split up).
most of the sessions show user actions hitting the landing page, followed by a number of Error Events. There also doesn't appear to be any other user actions occurring beside the loading of the landing page.
The two errors that stand out the most are (Unable to get property 'hide' of undefined or null reference), and (Object doesn't support property or method 'isSourceActionCreated')
I am not sure if these JS errors are related to the problem involving the user sessions looking like they are split up, but if anyone has experience with this sort of problem, I would love the assistance.
(Note: the PreProd environments for the same application have been onboarded, and do not have the same user session problems.)
Solved! Go to Solution.
If user sessions are split up, there might be a problem with the cookie domain. Did you explicitly set the domain in advanced settings?
We did not explicitly set the domain in the advanced settings. The problem appears to be not only that the user sessions are being split up, but that there is only one user action that is showing up (The loading of the (/Agile/PCMServlet).
The JS Error detail view you are showing is the AppMon 6.5 JS agent. Clemens mentioned this already. So please remove first the AppMon JS agent - Dynatrace and AppMon real user monitoring can't be used together in one application.