---
title: "Record a privacy-preserving page visit"
method: POST
path: "/analytics/visit"
tags: ["System"]
---

# Record a privacy-preserving page visit

`POST /analytics/visit`

## Request

- Base URL: `https://foresea.ink` (the document declares no server; this is the origin it was published from)
- URL: `https://foresea.ink/analytics/visit`
- Auth: none declared

Record one page visit with optional, non-reversible account attribution.

Stores no raw IP address. Unique visitors are estimated with a salted hash
of IP address and user agent.

## Request body

- VisitRequest: Browser visit event; attribution is resolved from the session header.
  - `path` string
  - `referrer` string
  - `timezone` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/foresea/apis/foresea-intelligence-api.md) · [All operations](https://skmtc.dev/foresea/apis/foresea-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/foresea/apis/foresea-intelligence-api/revisions/b03e49f4385d?raw)
