25 Apr 2024 11:02 PM
Hi,
Has anyone used Dynatrace to capture the User Tag from Documentum web pages?
We have tried using a CSS Selector of:
[id$=ABCD_1] > nobr > a > span
and used the dtrum getmetadata... command in the console and it does work.
BUT ONLY if we first click somewhere in the frame that holds that data.
I suspect the problem is that Documentum is using Framesets (so session replay doesn't work) and I think that is stopping the user tag capture as that frameset is not in focus when the page is drawn. Though thats a guess.
Any suggestions for how to capture the user tag would be appreciated.
Thanks, Keith
Solved! Go to Solution.
25 Apr 2024 11:19 PM - edited 25 Apr 2024 11:19 PM
A good way to test if the selector can be reached and is returning the value you expect is to navigate to that view and try in the console:
document.querySelector("{css-selector}")
Additionally, here's a quick guide in the documentation to verify if the user tag was applied in your session:
https://docs.dynatrace.com/docs/shortlink/user-tagging#verify-the-user-tag-configuration
If it doesn't work, I'd recommend using the JavaScript API to assign user tags, which is a better way to do it if you have more complex setups or css-selectors that change dynamically.
26 Apr 2024 07:20 AM
Check if the JavaScript Agent is also injected into the actual frame where the CSS is located.