Collect Hit
POST /ingest
POST
/ingest
The primary endpoint for the JS tracker.
Accepts page view and event data. Requires Origin header matching a registered Site domain.
Request Body required
Section titled “Request Body required ”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
Responses
Section titled “ Responses ”Accepted for processing (buffered via NSQ)
Invalid payload or missing Origin header