# `plandalf.reset()`

Clear the current visitor identity.

Implemented by the [browser object](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/browser.ts#L468); parameter and return types follow the [delegated class declaration](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/sdk/src/core/sdk.ts#L325).

**Workspace snapshot:** the inspected SDK has local changes. Source links identify its base commit and may differ from this working copy. Verify the SDK build you deploy before relying on unreleased behavior.

Call this after `plandalf.ready()`. The browser wrapper can return `undefined` before initialization.

## Signature

```typescript
plandalf.reset(): void
```

## Arguments

| Name | Type | Meaning |
| --- | --- | --- |
| None | — | This method takes no arguments. |

## Example

```javascript title="reset.js" lineNumbers lineNumberStart=1
plandalf.ready(() => {
  plandalf.reset()
})
```

## Returns

`void`

## Behaviour

Clears the identified user while preserving the anonymous visitor ID.

[All plandalf methods](https://plandalf.com/docs/sdk)

Source: https://plandalf.com/docs/sdk/reset
