Metrics

Identify the visitor of this browser (ADR 109 D4)

Changed on
post/_temps/identify

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Query parameters

temps_keystring

Query-string fallback for the ingest key, as for POST /_temps/event.

Headers

x-temps-analytics-keystring nullable

Analytics ingest key, as for POST /_temps/event.

Request body

traitsobject nullable

Traits merged into the visitor's custom_data; null removes a key. At most 32 keys and 8 KB.

user_idstring required

The app's own id for the signed-in person. At most 256 characters.

visitor_idstring nullable

The tracker's stored visitor id. Read only where events read it (a keyed request); a proxied site's visitor comes from its cookie.

Response

What identify did. Only the visitor this request already resolves to (its cookie, or the tracker's id on a keyed request) can be identified; the page never names a visitor. applied: false with an outcome says why nothing was stored: cookieless project, browser identify refused by the project, the backend already identified the visitor as someone else, or no visitor yet.

appliedboolean required

Whether the visitor carries the requested identity now (updated or unchanged).

messagestring required
outcome'updated' | 'unchanged' | 'visitor_not_found' | 'cookieless_project' | 'browser_identify_refused' | 'server_identity_kept' required

What an identify call did.

Changes