Events

Record a goal completion

Records a conversion from your own backend. Attach it to a known visitor with visitorUid, or omit it to record an anonymous completion.

post/goals

Request

  • Base URL: https://analytics.flowsery.com/analytics/api/v1
  • URL: https://analytics.flowsery.com/analytics/api/v1/goals
  • Auth: HTTP bearer

Headers

X-Workspace-Idstring

The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from GET /workspaces. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with code: workspace_access_denied. An API key belongs to one workspace: send its own id or leave the header out

Request body

namestring required

Lowercase letters, digits, underscores and hyphens only.

metadataobject

Arbitrary string key/value pairs stored with the completion.

websiteIdstring
domainstring
visitorUidstring

Ties the completion to a known visitor. Omit for anonymous events.

sessionUidstring
timezonestring

Response

Goal recorded

status'success' required

Changes

No recorded changes to this operation across all 1 revision of this API.