Track Events
Track events from your server. Please include at least one of: userId, externalId, or email. These properties help us associate events with existing users. For top-level visitor properties: null clears the existing value, while undefined, omitted fields, and empty strings are ignored. For entries inside custom_properties: null, undefined, and empty strings are all ignored (custom_properties use merge semantics). See https://docs.oursprivacy.com/docs/data-types for details and common pitfalls.
Request Body
application/json
The payload to track an event The schema describes canonical JSON inputs. The server also accepts values normalized by the preprocessing described on individual fields.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/track" \ -H "Content-Type: application/json" \ -d '{ "event": "string", "token": "string" }'{ "success": true}How is this guide?

