Funnels
You need to understand where users abandon your signup flow, purchase process, or onboarding sequence — without sending that behavior data to a third-party analytics cloud. HitKeep’s funnel analytics run entirely on your server. Conversion intelligence stays in your database.

Create a Funnel
Section titled “Create a Funnel”Define a funnel with an ordered list of steps. Each step is a path (URL match) or an event (named custom event):
curl -X POST https://your-hitkeep.example/api/sites/{site_id}/funnels \ -H "Content-Type: application/json" \ -b "hk_token=YOUR_SESSION_COOKIE" \ -d '{ "name": "Onboarding", "steps": [ {"type": "path", "value": "/signup"}, {"type": "event", "value": "email_verified"}, {"type": "path", "value": "/dashboard"} ] }'Steps are evaluated in order. A session must complete each step before being counted toward the next.
Funnel Statistics
Section titled “Funnel Statistics”Retrieve completion counts and drop-off rates for a time range:
curl "https://your-hitkeep.example/api/sites/{site_id}/funnels/{funnel_id}/stats?from=2025-01-01T00:00:00Z&to=2025-01-31T23:59:59Z" \ -b "hk_token=YOUR_SESSION_COOKIE"Timeseries
Section titled “Timeseries”Track funnel performance over time to measure the impact of product changes:
curl "https://your-hitkeep.example/api/sites/{site_id}/funnels/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 Funnels.
- Click New Funnel and add at least two steps.
- The stats panel shows completion counts and conversion rates per step.
- The timeseries chart lets you track improvements after shipping changes.
Delete a Funnel
Section titled “Delete a Funnel”curl -X DELETE https://your-hitkeep.example/api/sites/{site_id}/funnels/{funnel_id} \ -b "hk_token=YOUR_SESSION_COOKIE"Deleting a funnel removes its definition and computed rollups. The underlying raw hit data is preserved — you can always define a new funnel over the same historical data.
Related
Section titled “Related”Funnel data is fully exportable at any time via the data takeout API. Query it with any analytics tool, migrate it to any platform — no lock-in. HitKeep Cloud → manages the infrastructure while keeping the same data portability.