Disabling, Pausing and Resuming Data Collection
  • 16 Apr 2020
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Disabling, Pausing and Resuming Data Collection

  • Dark
    Light
  • PDF

Article summary

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?