Deny user tracking

wf.denyUserTracking(options)

Disables user tracking for the current user.

Syntax

1wf.denyUserTracking(options?: { reload?: boolean }): void

Parameters

  • options?: object – Controls deactivation behavior. Optional.
    • reload?: boolean – Reloads the page after disabling tracking. Default: false

Returns

This method doesn’t return a value to the caller.

Example

1// Ensure Browser APIs are ready before calling
2wf.ready(() => {
3 // Disable user tracking and reload the page
4 wf.denyUserTracking({ reload: true });
5});