> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# Analytics visitor id (never disclosed)

**Published**: 2026-11-30
**Category**: Analytics & Tracking

## `GET /analytics/visitor-id`

**Analytics visitor id (never disclosed)**

Returns a constant payload: `cookie_visitor_id` is always `null` and
`source` is always the label `"fingerprint"`. The value of the
tracking cookie is never disclosed here. Tracking is unaffected: the
collector `POST /storefront/{siteId}/analytics/events` reads the
cookie from the request itself, so nothing client-side needs its
value. The route is kept so tracker builds already deployed on
merchant sites keep working. Field names are snake_case.

### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `402` | The site subscription does not currently permit this operation |


> **Notes:** Never cached (`no-store`). Rate-limit bucket: analytics, 600 requests
> per minute per site and client.

### Examples

```curl
curl "https://api.lynkow.com/storefront/{siteId}/analytics/visitor-id"
```

```javascript
const res = await fetch(`https://api.lynkow.com/storefront/${siteId}/analytics/visitor-id`, { credentials: 'include' })
const { data } = await res.json()
// data.cookie_visitor_id is always null; data.source is always "fingerprint"
```

### Response Example

```json
{
  "data": {
    "cookie_visitor_id": null,
    "source": "fingerprint"
  }
}
```

---