---
title: "How the project identifies visitors: stored ids or cookieless"
method: GET
path: "/projects/{project_id}/analytics/identity"
tags: ["Analytics"]
---

# How the project identifies visitors: stored ids or cookieless

`GET /projects/{project_id}/analytics/identity`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/analytics/identity`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

Identity settings

- AnalyticsIdentitySettings: How a project tells its visitors apart, and what that costs.
  - `accept_browser_identify` boolean, required: Whether `identify()` from the browser is applied (ADR 109 D4). When `false`, only the app's backend can identify a visitor. Defaults to `true`. Ignored in `cookieless` mode, where identify stores nothing.
  - `limitations` string[], required: Reports that behave differently in this mode, for the console to say so next to them.
  - `mode` 'persistent' | 'cookieless', required: `persistent` (the default): ids stored in a cookie or `localStorage`, visitors recognised across days. `cookieless`: nothing stored on the device; a visitor is a new visitor every day.
  - `project_id` integer, required
  - `sdk_option` string, nullable: What the browser SDK must be told for this mode, so it writes nothing either: `cookieless: true`, or `data-cookieless="true"` on the script tag. `None` in `persistent` mode.
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Project not found
- `500`: Internal server error

## Changes

- **2026-11-21** `fada8eed0111`: 1 info
  - added the required property `accept_browser_identify` to the response with the `200` status
- **2026-11-20** `1a920722ba7e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/analytics/identity/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
