Skip to main content

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.

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.