Disabling automatic detection only prevents future automatic user actions from being created. It does not complete,
interrupt, or otherwise affect the currently active user action.
Parameters
automaticDetection: boolean
If false, pauses creation of future automatic user actions; otherwise resumes it.
Returns void
Example
import*asuserActionsfrom"@dynatrace/rum-javascript-sdk/api/user-actions"; userActions.setAutomaticDetection(false); // manual user action handling
Safe wrapper for dynatrace.userActions.setAutomaticDetection which reverts to a noop if RUM JavaScript or the user actions module is not available.
Disabling automatic detection only prevents future automatic user actions from being created. It does not complete, interrupt, or otherwise affect the currently active user action.