Skip to main content

When to use server-side tracking

Use the Events API when:
  • You need to record a conversion that happens entirely on the server (for example, a payment confirmation received via webhook)
  • You are building a server-rendered application without a browser front-end
  • You want to guarantee an event is recorded even if the visitor’s browser blocks JavaScript

Endpoint

Headers

Request body

Response

202 Accepted on success. No response body.

Example: cURL

Connecting to goals

Server-side events are matched to Custom event goals by event name, the same as client-side events.