Skip to content
HitKeep
Select language
Select theme
GitHub
Start free in Cloud
← All posts

HitKeep 2.20 catches traffic spikes and compares the same weekday

Published 5 min read

HitKeep dashboard comparing pageviews with the same weekday last week on a demo website

Screenshots show the current HitKeep interface. Feature descriptions refer to this release.

At lunchtime your campaign page has twice as many views as yesterday. Is that unusual for a Tuesday? Did one link send the extra traffic? Did anyone make it past the landing page? HitKeep 2.20 lets you work through those questions in the dashboard. The screenshots in this post use a demo site.

Compare Tuesday morning with Tuesday morning

Choose Today in the dashboard and Same weekday last week as the comparison. The chart lines up the two days so you can see when their traffic began to diverge. Open a KPI card to read the values and the exact periods behind the change. That matters at lunchtime, when last Tuesday still had an entire afternoon of traffic to come.

The demo above shows two completed Saturdays. Pageviews fell 10.2% to 177 while sessions rose 2.8% to 74. More sessions and fewer pageviews tell a different story than the pageview total alone.

The previous-period comparison is still available. Choose a custom comparison date when the meaningful reference is the last newsletter, launch or sale. If the earlier value was zero, HitKeep shows the counts and leaves the percentage change undefined. Read the comparison guide.

Follow a spike to the page that changed

The dashboard checks the last 24 completed hours against the same UTC hours in earlier weeks. It needs at least two comparable weeks and takes the median of up to four. A spike needs at least 50 pageviews and twice the expected traffic. A quiet new site can build up history before it starts raising alarms.

Demo spike warning: 246 pageviews, 89 expected. The /product-launch page gained 155 pageviews compared with last week.
In the demo, 246 pageviews arrived against a baseline of 89. The /product-launch path contributed 155 more views than in the same window last week. Filter opens the dashboard on that path.

The suggested path is the one whose traffic changed most in the same direction compared with last week. Select it and inspect the sources sending visitors there. A link from a partner, a newsletter and a tracking change can produce similar-looking spikes. The source breakdown helps you decide which explanation to investigate.

For a heads-up away from the dashboard, open Site settings → Alerts and enable spikes, drops or possible tracking outages. Notifications check a shorter window of three completed hours once an hour, so an email and the dashboard can show different totals. Choose email, a configured webhook, or both. These notifications are available on Cloud Pro and Business and on self-hosted installations.

See what happened after the landing page

Entry journeys groups sessions by source and landing page. With no goal selected, each row shows the next page or where the session ended. Select a goal to see how many of those sessions completed it and at what rate. A partner link that sends plenty of visits but few goal completions is a different conversation from a link that sends fewer visits and more signups.

Entry journeys showing sources, landing pages, sessions and next pages on the demo site
All three demo sessions that arrived from the partner source on /contact went to /features next. That is a next-page rate. Select a goal to see a conversion rate.

The dashboard also gives you a shorter route from an aggregate to the underlying detail:

  • Expand a list such as Content, search for a path and select it to filter the report. The filter bar stays in view as you scroll.
  • Open a row under Latest Hits to inspect that particular request. Select an individual attribute when you want to see other hits that share it.
  • Click Live visitors to follow a rolling five-minute dashboard. In Overview, each website gets its own trend and KPI changes, so you can choose which site to open first.

Faster reports and ingestion

DuckDB now groups repeated values before classifying user agents and referrers. One scan supplies several dashboard totals that previously needed separate queries. On the write side, HitKeep batches activity updates in a transaction and can flush different tenant stores concurrently. A burst on one workspace spends less time holding up another workspace’s batch.

We ran the same report benchmarks on 2.19.0 and 2.20.0 with 200,000 synthetic hits across 60 paths on one site over 29 days. The backend built a full dashboard report in 174 ms, down from 530 ms. A dashboard with imported UTM history went from 921 ms to 198 ms, with 32 logged queries per report instead of 40.

Backend report times from 2.19.0 to 2.20.0. All dashboard sections went from 530 to 174 milliseconds, top lists from 692 to 152, and the dashboard with imported UTM history from 921 to 198.
In-memory DuckDB on an eight-core Apple M1 Pro. Values are medians of three local runs with three timed iterations each. The timer covers report construction. Network transfer and browser rendering take additional time.

To reproduce the report measurements, run the same selection at each release tag three times. Benchmark source and fixture on GitHub.

Terminal window
go test ./database -run '^$' -bench '^(BenchmarkGetSiteStats|BenchmarkImportedUTMKPIs)$/(all|top_lists|dashboard)$' -benchtime=3x -benchmem -count=1

A separate burst test timed how long it took for all 3,200 pageviews to become queryable in DuckDB. The median fell from 4.13 seconds to 0.35 seconds across three runs per version. We sent the burst with 32 concurrent HTTP workers to eight sites across four tenant stores, one already holding 200,000 rows, and checked the row count every 25 ms. Every request received HTTP 202 on both versions. The HTTP response phase itself took 119 ms and 168 ms respectively. The gain came in getting the whole burst into storage.

More time to act on a Cloud usage warning

Free workspaces keep tracking for at least seven days after the monthly usage warning is sent, and through the existing 20% buffer. Both conditions must be met before collection pauses. A new UTC calendar month resets the quota. Active Pro and Business workspaces keep tracking above their monthly hit allowances. See Cloud plans and limits.

Self-hosters can find binaries, checksums and upgrade details in the 2.20.0 release on GitHub.