Skip to content
whovisited.

Analytics basics · Growth reports

Why analytics source rows may not add up to total sessions

Learn why a source table can show fewer sessions than the Growth total, how WhoVisited groups and limits rows, and what to check before treating the gap as missing traffic.

A table total is not always the report total

You add the Sessions column in an analytics source table and get a smaller number than the Growth summary card. That can look like lost traffic. First check whether the table shows every group or only a ranked subset. In WhoVisited today, the summary and the table have different jobs: the summary counts all sessions in the selected website and UTC period, while the source table returns at most 100 source-and-campaign groups.

This is a reporting scope difference, not evidence by itself that the tracker dropped events. A source table is a breakdown; its visible rows are not guaranteed to be an exhaustive ledger of the total.

What the Growth report counts

Growth filters by one website and a selectable 7, 28, or 90 day period. The period is labeled UTC, and a session is included when its start time falls in that window. With an enabled goal selected, the summary counts sessions that contain a matching retained event; the report counts at most one conversion for a session and goal.

The Sources table groups sessions by the calculated source label and UTM campaign. A campaign can therefore create several rows under the same source label. The source label prefers a recorded utm_source (and adds utm_medium when present), recognizes a few search engines from the referrer, otherwise uses the external referrer host, and falls back to Unknown source. The query sorts groups by conversions, then sessions, then label, and applies LIMIT 100. Landing pages are grouped separately and have their own 100-row limit.

The summary totals are queried over the full filtered session set, separately from the limited breakdown queries. Therefore summing the visible source rows can be less than the total Sessions card. The same applies to visible landing-page rows. There is no table pagination or export control on this page today, so rows after the first 100 are not available through this table.

Compare like with like

  1. Match the website first. The Growth view is scoped to one selected website; a workspace-wide overview card or another website is a different population.
  2. Match the period and timezone. Choose the same 7, 28, or 90 day option and remember that the boundaries are UTC session-start times, not local calendar dates or page-view receipt times.
  3. Compare the same metric. The source table's Sessions column is sessions by group. The Goal sessions column is one matched conversion per session when a goal is selected; without a goal, it displays a dash.
  4. Check whether the table is at its 100-row cap. If it has 100 rows, treat it as a ranked top slice and do not label the difference as Unknown or missing traffic. Unknown source is one real group, not a catch-all for every row omitted by LIMIT.
  5. Use campaign labels consistently. A large number of one-off utm_campaign values can spread activity across many source/campaign groups and push smaller groups outside the visible slice. Stable naming makes the visible breakdown easier to interpret, though it does not increase the row limit.

A small example of the distinction

Suppose the filtered report contains 2,400 sessions and the source table shows exactly 100 groups totaling 2,180 sessions. Those displayed rows explain 2,180 sessions. The remaining 220 are not automatically lost and are not automatically Unknown; they may belong to groups beyond the table limit. To investigate actual collection, test a controlled visit and inspect the accepted request, then use the same website and UTC window in the report.

sql
-- Conceptual example for a database you control; not a WhoVisited export
WITH filtered_sessions AS (
  SELECT source_label, utm_campaign, converted
  FROM sessions
  WHERE website_id = :website_id
    AND started_at >= :utc_start
    AND started_at <  :utc_end
),
summary AS (
  SELECT count(*) AS sessions,
         count(*) FILTER (WHERE converted) AS goal_sessions
  FROM filtered_sessions
),
top_groups AS (
  SELECT source_label, utm_campaign, count(*) AS sessions,
         count(*) FILTER (WHERE converted) AS goal_sessions
  FROM filtered_sessions
  GROUP BY source_label, utm_campaign
  ORDER BY count(*) FILTER (WHERE converted) DESC, count(*) DESC, source_label
  LIMIT 100
)
SELECT * FROM summary;
-- Read top_groups separately: its rows are deliberately capped.

The example illustrates why a summary query and a limited breakdown do not have to sum to the same value. It is not a query you can run against WhoVisited: the product does not provide customers with direct SQL access to event or session tables.

When to investigate collection instead

Investigate the tracker when a known synthetic visit is absent after its session should appear, when the selected website is wrong, or when the browser request is rejected. Verify the configured site ID and allowed origin, consent state, network request and response, and whether a second snippet is installed. Do not use a difference between a top-100 table and an all-session summary as the only failure signal.

WhoVisited is useful for spotting leading sources and pages, but this current table is not a complete high-cardinality export. If you need an exhaustive breakdown across hundreds of distinct campaigns, record that limitation in your reporting workflow and keep campaign names controlled. Counts may also differ from another analytics tool because consent, blockers, session definitions, and attribution rules differ.

References and limits

This explanation reflects the current Growth query and table UI as of November 20, 2026; a future product release may change the row cap or add pagination. PostgreSQL documents LIMIT as a maximum number of rows returned, while aggregate functions such as count compute a result across their input set.

References and further reading

  1. PostgreSQL: SELECT and the LIMIT clause
  2. PostgreSQL: Aggregate Functions
  3. WhoVisited: practical UTM campaign naming
  4. WhoVisited: why traffic sources show Unknown
  5. WhoVisited: visitor, session, and page-view count differences