Disable tracking
You can disable the Adtrace SDK from tracking any activities of the current device by calling setEnabled with
parameter false. This setting is remembered between sessions.
- Java
- Javascript
AdTrace.setEnabled(false);
AdTrace.setEnabled(false);
You can check to see if the Adtrace SDK is currently enabled by calling the function isEnabled. It is always
possible to activate the Adtrace SDK by invoking setEnabled with the enabled parameter as true.