Documentation
APIAPI reference

Ingestion

The public endpoints used by the tracking script. They are not meant for API clients.

POST/collect

Ingest a tracking event

Ingest a tracking event.

ScopesPublic
Request bodyapplication/json

Tracker event payload. The tracker SDK is the authoritative producer for this ingestion protocol.

object

Responses
GET/script.js

Get the tracking script

Get the tracking script.

ScopesPublic
Query parameters
siteIdstringrequired

Site identifier embedded in the tracker snippet.

≥ 1 chars
Responses