Track client-side analytics events
Analytics
Track client-side analytics events
Use when: caller is reporting batched client-side analytics events (page views, feature usage) — for Layer’s product analytics, not for billing or rate limiting
Public endpoint (auth optional). Accepts batched client-side analytics events — page views, button clicks, feature usage. Auth is best-effort: if a valid Bearer token is provided, events are attributed to that user; otherwise the request body’s user_id / anonymous_id is used. Used by Layer’s marketing site and dashboard for product analytics, not for billing or rate limiting.
POST
Track client-side analytics events
Documentation Index
Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Minimum array length:
1Response
Events tracked; response includes the count.