---
title: "First-party page count the website sends on each page (120 a minute, body ≤ 2 KB). No cookie; stores the day, the path, the ref code and the referrer host — never the address"
method: POST
path: "/api/v1/beacon"
tags: ["Support"]
---

# First-party page count the website sends on each page (120 a minute, body ≤ 2 KB). No cookie; stores the day, the path, the ref code and the referrer host — never the address

`POST /api/v1/beacon`

## Request

- Base URL: `https://philforms.com`
- URL: `https://philforms.com/api/v1/beacon`
- Auth: none declared

## Request body

- object
  - `path` string, required: The page path, e.g. /2307 (query string dropped)
  - `ref` string: An affiliate code from ?ref=
  - `referrer` string: document.referrer — only its host is kept

## Response `204`

Done (no body)

## Other responses

- `400`: Not a page path
- `413`: Body over 2 KB

---

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