Skip to content
☁️ HitKeep Cloud is coming! Join the Early Access waitlist →

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.

HitKeep goals dashboard — conversion tracking with path and event goals
Goals dashboard — path and event conversions tracked entirely on your server.
Terminal window
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"}'
  • Path goal: counts sessions that hit a specific path (e.g. /pricing).
  • Event goal: counts sessions that emit an event name (e.g. signup).

Fetch goal conversions over time:

Terminal window
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"
  1. Open your site in the dashboard.
  2. Navigate to Goals.
  3. Create a new goal (path or event).
  4. The goal will appear in KPIs and charts.

Prefer a managed setup with backups and upgrades handled for you? Join the HitKeep Cloud waitlist →