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

RUM: Tagging only your user actions, keeping others anonymous

AntonPineiro
Leader

Hi,

Sometimes RUM is enabled but tagging users is not allowed for privacy reasons. And you would like to monitor your user actions in target web application but only yours, others must be still anonymous.

If you are in that situation:

  1. Open your favorite browser in incognito mode.
  2. Going to target application where RUM is enabled.
  3. Press F12 in your keyboard or going to Developer tools interface.
  4. Go to “Console” tab.
  5. Type dtrum.identifyUser("Your_username") and press ENTER.

AntonPineiro_0-1682693266760.png

That session will be tagged with your input tag. It might be helpful for testing or discovery or troubleshooting purposes.

I hope it could help!

Best regards

Consultant
2 REPLIES 2

uros_djukic1
Dynatrace Advisor
Dynatrace Advisor

Always appreciable this type of sharing. In addition, here is the link detailing a complete list of these JS API functions.

https://www.dynatrace.com/support/doc/javascriptapi/interfaces/dtrum_types.DtrumApi.html
A more fleshed out tip, if you want to follow a specific user click (here click button "soumettre: ", possibility to change in the JS application code (requires the development team) as follows:

 

function submitCockpitAction(caseName)

{

action = dtrum.enterAction("soumettre:" + caseName);

dtrum.leaveAction(action);

}

Result : 

uros_djukic1_0-1683879100854.png

 



 

Thank you! 😎

Consultant

Featured Posts