Skip to content
☁️ HitKeep Cloud is coming! Join the Early Access waitlist →

Collect Hit

POST
/ingest

The primary endpoint for the JS tracker. Accepts page view and event data. Requires Origin header matching a registered Site domain.

object
path
required
string
Example
/
referrer
string | null
ua

User Agent

string | null
vp_w

Viewport Width

integer | null
vp_h

Viewport Height

integer | null
sc_w

Screen Width

integer | null
sc_h

Screen Height

integer | null
lang

Browser Language

string | null
unique
boolean
session_id
required
string format: uuid
page_id
required
string format: uuid

Accepted for processing (buffered via NSQ)

Invalid payload or missing Origin header