Track pageviews, button clicks, user conversion funnels, and performance beacons. Ingest events singly or in batches, and query aggregated session summaries in real time without external analytics vendor tracking.
Select a telemetry scenario below to send live tracking beacons or inspect aggregated session metrics:
The /analytics/track endpoint accepts structured JSON beacons:
| Field | Type | Required | Description |
|---|---|---|---|
| event | string | Yes | Unique event identifier (e.g. pageview, checkout_completed). |
| properties | object | Optional | Arbitrary key-value metadata dictionary (route path, currency, user agent). |
| timestamp | string (ISO-8601) | Optional | Client-side event capture time (defaults to server receipt time if omitted). |
Production patterns for guaranteed unload delivery and batching: