Skip to main content

Visitor Goal Conversions

Donation-event conversion stats for your handle page — unique donors, total donation events, and conversion rate. Premium only.

GET
/visitors/goals
x-api-key<token>

API key used for authentication

In: header

Query Parameters

period?string

Time window. Presets: today, yesterday, last24h, last7d, last30d, last90d, wtd, month. Custom: custom:YYYY-MM-DD:YYYY-MM-DD

Default"last30d"

Response Body

application/json

application/json

curl -X GET "https://loading/api/v1/visitors/goals"
{
  "uniques": 42,
  "total": 55,
  "conversionRate": 3.5
}
{
  "error": "string",
  "code": "string",
  "details": {}
}