Ingest pipeline
From the browser to a row in four hops
The SDK batches events and sends them with fetch, or sendBeacon when the page hides.
The API checks the key and origin, scores bots, enriches with geo, device and channel, and writes the row to Postgres.
- sdkpageview /pricing
- sdkvisitor v_8f2c · session s_a81e
- proxy+ secret key · + forwarded ip
- apikey ok · origin ok · bot 0.02
- apiNL · desktop · organic
- apiip hashed with the daily salt, then dropped
- dbINSERT INTO events · 1 row