# `plandalf.reset()`

Clear the current visitor identity.

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

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
