# How Does Freshpaint Identify Users?

By default, Freshpaint assigns every user a randomly generated id and stores that in a cookie. This id is called either the user's *anonymous id* or *device id*. You can also use the Freshpaint identify functionality add your own id to a user.

After you assign an id to a user, Freshpaint and all downstream destinations will use that identifier to tie events performed by that user together, even if those events were performed on different devices.

See our [docs on setting up identify](/readme/setting-up-identify.md) for more information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.freshpaint.io/reference/faqs/how-does-freshpaint-identify-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
