> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crxbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Identify users

> Associate future events with an account identifier.

Use `analytics.identify()` when you want future extension events to include an account identifier:

```typescript theme={null}
await analytics.identify("account_123");
```

Choose a stable, opaque account ID where possible. You are responsible for the values you send and for describing your data collection in your privacy policy. The method accepts a nonblank string of up to 128 Unicode characters without control characters.

When a user signs out, clear the identity for future events:

```typescript theme={null}
await analytics.clearIdentity();
```

Identifying or clearing an account does not create an event. Earlier events keep the identity they had when recorded; anonymous events are not assigned retroactively. Analytics counts each extension installation separately, even when the same account is used on multiple installations. Clearing an identity does not delete past data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.