Ingest

Ingest pageview

Ingests a pageview hit from the browser tracker. This public endpoint expects the compact hk.js payload and browser Origin request context. The tracker sends initial hk_qr attribution as qr when a visitor arrives through a dynamic QR redirect. HitKeep uses the resolved request IP transiently for exclusions, spam filtering, and country, region, city, provider, and ASN lookup, stores derived country, region, city, provider, and ASN context, and does not store the raw visitor IP. Trusted server-side pageviews should use POST /api/ingest/server/pageview instead.

post/ingest

Request

  • Base URL: https://demo.hitkeep.com
  • URL: https://demo.hitkeep.com/ingest
  • Auth: none declared

Request body

langstring
page_idstring uuid required
pathstring required
qrstring uuid

Initial hk_qr attribution captured by the browser tracker.

referrerstring
sc_hinteger
sc_winteger
session_idstring uuid required
u_cmpstring
u_cntstring
u_medstring
u_srcstring
u_trmstring
uastring
uniqueboolean
vp_hinteger
vp_winteger

Response

Accepted

Changes

No recorded changes to this operation across all 1 revision of this API.