HTTP API

Goals API

List, create, and delete goals. Conversions are always actor-aware.

List and conversions

GET /api/sites/{id}/goals?days=30&actor=human returns each goal and its conversion count for the window. Names must match what you send from window.v5 or data-v5-event.

Create

POST /api/sites/{id}/goals
{ "name": "signup" }

DELETE /api/sites/{id}/goals/{goalID} removes the definition. Historical events stay; they just leave the goals report.

Something off? Open an issue · Edit on GitHub