Goals
You want to track real conversions without adding another external analytics service. Goals in HitKeep let you measure meaningful actions (event-based or path-based) directly inside your instance.

curl -X POST https://your-hitkeep.example/api/sites/{site_id}/goals \ -H "Content-Type: application/json" \ -b "hk_token=YOUR_SESSION_COOKIE" \ -d '{"name":"Signup","type":"event","value":"signup"}'Goal Types
Section titled “Goal Types”- Path goal: counts sessions that hit a specific path (e.g.
/pricing). - Event goal: counts sessions that emit an event name (e.g.
signup).
Timeseries
Section titled “Timeseries”Fetch goal conversions over time:
curl "https://your-hitkeep.example/api/sites/{site_id}/goals/timeseries?from=2025-01-01T00:00:00Z&to=2025-01-31T23:59:59Z" \ -b "hk_token=YOUR_SESSION_COOKIE"Dashboard Workflow
Section titled “Dashboard Workflow”- Open your site in the dashboard.
- Navigate to Goals.
- Create a new goal (path or event).
- The goal will appear in KPIs and charts.
Related
Section titled “Related”Prefer a managed setup with backups and upgrades handled for you? Join the HitKeep Cloud waitlist →