Ir al contenido
HitKeep
Seleccionar idioma
Seleccionar tema
GitHub
Empezar gratis en Cloud

Period-over-Period Analytics Comparison in HitKeep

Esta página aún no está disponible en tu idioma.

The dashboard compares the selected range with the immediately preceding window of equal elapsed time.

In HitKeep 2.18.1, select the percentage badge or Compare under a comparable metric on the dashboard or in one of the reports below. The dialog shows the current and previous values, the difference in the metric’s own units under Absolute change, and the percentage change under Relative change. Open Exact times to see when each period starts and ends in your local time zone, with UTC offsets. Select Close or press Escape to return focus to the metric’s comparison button.

Hover over or tap a point in Traffic overview to see the start time and values for that interval in each period with data. With a keyboard, press Tab to focus the plot itself. Use the left and right arrow keys to move between points and press Escape to close the tooltip. Select a name in the legend to hide that series, then select it again to show it. Under Chart style, choose Area, Line, or Bars to change how the same readings are drawn.

Focused traffic chart showing pageviews, visitors, and interval start times for both periods
The horizontal axis shows current-period dates. The tooltip gives the start time for each period’s interval.

The previous window ends one millisecond before the current window starts. At noon on an ordinary day, Today compares midnight through noon with the preceding twelve hours. Last month uses the elapsed length of the selected month, so its baseline can span parts of two calendar months. Across a daylight-saving change, the local clock times can differ.

Relative change is the difference divided by the previous value. A bounce rate rising from 40% to 50% shows +10 percentage points of absolute change and +25% of relative change. A fall from 100 pageviews to zero shows −100%. If the previous value is zero, the dialog shows that zero and marks the percentage change as unavailable.

Live visitors appears first, before pageviews and unique sessions. It counts distinct sessions with matching pageviews in the last five minutes regardless of the selected date range. The live card has no previous-period figure.

  • Dashboard shows both periods for pageviews, unique sessions, bounce rate, average session duration, and pages per session. Each point on the traffic chart compares pageviews or visitors for one time interval with the corresponding interval in the previous period. The trend line describes current traffic.
  • Events compares event counts and the event timeline for the chosen event and filters. Property breakdowns describe the current window.
  • Goals compares conversions, converting sessions, and conversion rate. Funnels compares entries, completions, and completion rate.
  • UTM compares hit counts for campaign, content, medium, source, and term.
  • AI Agents compares AI requests, referred visits, paths crawled, and AI requests as a share of pageviews. AI Chatbots compares activity such as conversations, responses, and handoffs.

Breakdown tables and traffic records describe the current range. A missing row in a top list cannot establish that its previous count was zero. The chart overlays the previous period when the two periods use matching intervals. In a chart with data, missing values leave gaps and measured zeros appear as zero. Unique sessions per interval can include the same session in several intervals.

The site dashboard includes daily imported aggregates for complete UTC dates within eligible ranges. Sub-day views and filters requiring session-level relationships use tracked data. These rules apply to both windows.

Period comparison is most useful after a real change:

Change What to check
New landing page Pageviews, landing pages, goal conversion, and source mix
Pricing page rewrite Pricing path goal and signup funnel completion
Campaign launch UTM source, medium, campaign, and goal deltas
Checkout change Ecommerce revenue, orders, checkout funnel, and device mix
AI content update AI-referred visits and downstream goals, while AI crawler fetches stay in AI Visibility

Treat a positive delta as a prompt to inspect the source, campaign, and audience panels. Treat a negative delta as a prompt to check whether traffic volume changed, conversion rate changed, or tracking changed.

Request a comparison from the site stats endpoint by supplying both compare_from and compare_to along with from and to. The dashboard computes and sends its previous-period bounds. An API caller can choose a different comparison window. Without a valid pair, the response omits comparison.

With a valid comparison window, the response includes its aggregates. For example, this excerpt shows the period totals.

{
"total_pageviews": 4200,
"unique_sessions": 1800,
"comparison": {
"total_pageviews": 3500,
"unique_sessions": 1500,
"utm_campaign_hits": 210,
"utm_content_hits": 80,
"utm_medium_hits": 310,
"utm_source_hits": 420,
"utm_term_hits": 55,
"goals": [
{ "goal_id": "...", "name": "Signup", "conversions": 140, "conversion_rate": 9.3 }
],
"total_conversions": 140,
"chart_data": []
}
}

This request compares February with the full calendar month of January.

Terminal window
curl "https://your-hitkeep.example/api/sites/{id}/stats?\
from=2025-02-01T00:00:00Z&to=2025-02-28T23:59:59Z&\
compare_from=2025-01-01T00:00:00Z&compare_to=2025-01-31T23:59:59Z" \
-b "hk_token=YOUR_SESSION_COOKIE"