POST /api/public/apps/track
The Track call is how you record any actions your users perform, along with any properties that describe the action.
The following is an example of a track body.
Authorizations
Authorization header for the request, in the format Bearer <token>
. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.
Headers
Authorization header for the request, in the format Bearer <token>
. Find your token at https://app.dittofeed.com/dashboard/settings#write-key.
Body
Unique identifier for the message, used as an idempotency key for safe retries. Can provide a UUID.
ISO 8601 formatted timestamp of when the event occurred. If not provided, the current server time will be used.
Provides metadata about the user submitting the event and the context in which the event occurred.
Name of the action that a user has performed.
Free-form dictionary of properties of the event, like revenue or product name. Can contain arbitrary JSON values.
Unique identifier for the user. Should be the id of the user in your system. Only applicable to logged in users.
Response
An empty String