What exactly do you mean with "by command"?
You can for example use the opt-in mode to enable Real User Monitoring via the JS agents API only once the user has accepted terms and conditions or checked a box for example.
Hello @Patrick H.,
Thank you for your response. And I am sorry I didn't explain it clearly enough.
I would like to know how to turn on/off RUM settings by command. (not on Dynatrace Screen "Application settings => General" )
My customer wants to reduce consumption of RUM licenses. And he wants to turn on/off RUM settings by the command line, not the setting change on the Dynatrace screen.
I hope that I am making sense.
As Patrick said, having users accept the cookie could help give your users the option to choose whether or not they want to be included in RUM. Another option if you just want to turn off RUM for an application is to edit the app and in the general settings turn off real user monitoring.
Hello @David N.,
Thank you for your comment. I am sorry for my lack of explanation.
if you just want to turn off RUM for an application is to edit the app and in the general settings turn off real user monitoring.
Yes! My customer wants to do that by command. (not on the Dynatrace screen) Is there any way to do that?