Skip to main content
Track custom goal events server-side using the API.

Endpoint

Authentication

Requires API key authentication.

Request body

Request example

Response

Success response (200)

Error responses

Missing event (400)

Unauthorized (401)

Use cases

  • Server-side tracking - Track events from your backend
  • Webhook handlers - Track goals from webhook events
  • Background jobs - Track goals from scheduled tasks
  • API integrations - Track goals from third-party APIs

Examples

Track purchase

Track form submission

Next steps

POST Payment

Learn how to record payments via API