- Print
- DarkLight
- PDF
Disabling, Pausing and Resuming Data Collection
Article summary
Did you find this summary helpful?
Thank you for your feedback
Webtrends data collection can be disabled, or paused and resumed at any time. You may want to disable data collection in an application to ensure no Webtrends data is collected.
To disable collection and sending of events:
WTDataCollector.getInstance().setConfigSetting(WTConfigKeys.ENABLED, "false", true);
To pause and resume events transmission:
// Pause
WTDataCollector.getInstance().pauseEventTransmission();
// Resume
WTDataCollector.getInstance().resumeEventTransmission();
Was this article helpful?