Know what works

Analytics for your knowledge base

Which docs get read, which get ignored, what people search for and don’t find. KPIs with trends, time-on-page, reader engagement, author reach, and per-document drill-downs — filterable by date, space, author, and tag.

Self-host it free All features

app.compassdocs.io/analytics
The CompassDocs analytics dashboard with KPI cards, a views-over-time chart, and trending documents

KPIs with period-over-period trends, views over time, and trending documents — all computed on your own server.

What you get

  • Total & unique views, average time on document, downloads, and internal vs public-site reads
  • Trending, most-viewed, and least-viewed documents — know what to refresh, promote, or retire
  • Search analytics with content gaps: what people looked for and didn’t find
  • Reader engagement and author reach, with a live activity feed
  • Filter by date range, space, category, author, or tag — click any doc for a drill-down

Trends, not snapshots

Every KPI compares against the previous period, so you see direction — not just numbers.

Content gaps

Searches that returned nothing are your writing backlog — each one linked so you can run it and fill the gap.

Private by design

All tracking stays on your server. Time-on-page is measured only while the tab is visible; nothing is sent to third parties.

Frequently asked

Who can see analytics?

Approvers and admins — and results are scoped to the spaces they can see. Viewers and editors don’t get the dashboard.

How is time on page measured?

Small heartbeats sent only while the reader’s tab is visible, capped at 30 minutes — so an open background tab doesn’t inflate reading time.

Does any usage data leave my server?

No. Events are stored in your own PostgreSQL database and aggregated on demand. There’s no third-party analytics service involved.

Are public-site visitors tracked?

Anonymously, and only page views on documents you’ve chosen to publish publicly — no cookies, no fingerprinting, just a view count with reading time.

Related: AI search & answers · Roles & approvals · Admin console

Free & open source to self-host

One Docker command installs CompassDocs with unlimited users and documents. Enterprise adds SSO, Microsoft 365 sync, compliance, and training for a flat $599/year.

Get started in 2 minutes See pricing