Ir al contenido
Empezar gratis en Cloud

Period-over-Period Analytics Comparison in HitKeep

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

HitKeep automatically compares your current date range against the equivalent prior period on every analytics page. Delta badges appear on all KPI cards and a dashed overlay series appears on every timeseries chart — no toggle required.

HitKeep dashboard with period-over-period delta badges and previous-period chart overlays
The dashboard overlays the equivalent prior period automatically, adds dashed comparison series, and shows per-card deltas without requiring a separate toggle.

Comparison is always active. Whenever you load or change the date range:

  1. HitKeep computes the previous period — a window of the same duration ending the millisecond before your current range begins.
  2. KPI cards show a +X.X% or -X.X% badge against the prior period.
  3. Timeseries charts gain dashed overlay series for the previous period.
  4. A “vs. Jan 24 – Feb 22” label appears near the range selector so you always know what you are comparing against.

HitKeep shifts the selected window backwards by its own duration:

Current rangeComparison range
TodaySame elapsed length immediately before today began
YesterdayThe calendar day before yesterday
Last 30 minutes30 minutes before that
Last hour1 hour before that
Last 6 hours6 hours before that
Last 24 hours24 hours before that
Last 3 daysThe 3 days before that
Last 7 daysThe 7 days before that
Last 14 daysThe 14 days before that
Last 30 daysThe 30 days before that
Last 60 daysThe 60 days before that
Last 90 daysThe 90 days before that
Last 180 daysThe 180 days before that
This weekEquivalent length before this week began
Last weekThe calendar week before last week
This monthEquivalent length before this month began
Last monthThe calendar month before last month
This yearEquivalent length before this year began
Last yearThe year before that
Custom (Jan 25 – Feb 23)Equivalent length ending Jan 24

Prior-period deltas are shown on KPI cards and timeseries charts. City/provider/ASN lists remain current-range aggregates, so they can explain the selected period without implying that a specific city, network provider, or ASN changed by a computed percentage.

Comparison data is shown on:

  • Dashboard — traffic KPI cards, traffic chart overlay, and current-range top countries, cities, providers, and ASNs
  • Goals — Conversions, Conversion Rate, Unique Sessions + chart overlay
  • Funnels — Entries, Completions, Completion Rate + chart overlay
  • UTM — UTM hit-count cards for Campaign, Content, Medium, Source, and Term

The Events page does not show comparison — event property breakdowns are snapshots rather than trends.

Period comparison is most useful after a real change:

ChangeWhat to check
New landing pagePageviews, landing pages, goal conversion, and source mix
Pricing page rewritePricing path goal and signup funnel completion
Campaign launchUTM source, medium, campaign, and goal deltas
Checkout changeEcommerce revenue, orders, checkout funnel, and device mix
AI content updateAI-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.

The comparison object is always present in the stats endpoint response. The previous period is computed server-side from the from / to parameters you supply:

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

The response includes a comparison object covering the equivalent prior period:

{
"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": [...]
}
}

You may also pass explicit comparison bounds using compare_from / compare_to if you need a custom window:

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"