# Analytics dashboards over your own events

Build product analytics dashboards from your own events: KPI, line, bar, table, and Sankey tiles on one shared time window, with period-over-period comparison.

Source: https://pug.sh/analytics-dashboard

Pin KPIs, line and bar charts, tables, and user-flow Sankeys to one board, and set its date range once for every tile. Self-host it with the rest of Pug, or use Pug Cloud, free up to 100k events a month.

- Map and Sankey tiles
- One shared time window
- Period-over-period
- Self-hostable

## What an analytics dashboard is

A board of tiles over your events, all sharing one time range.

A dashboard puts the [product analytics](https://pug.sh/product-analytics) you check often on one board: a few KPIs, the trends behind them, and the breakdowns that explain a change. In Pug every tile is a saved insight over the same **events and profiles**, so a KPI and the chart beside it count the same events over the same dates.

## Every tile shares one time window

A static preview of a Pug board: KPI tiles with period-over-period deltas, a trend, and a ranked breakdown.

*A dashboard board: signup, conversion, and active-user KPI tiles with period-over-period deltas, a top-pages ranking, and a signups trend chart, all on one shared 30-day window*

## What goes on a board

Each tile is an insight pinned to the board, drawn as one of these.

### KPI and line

One number, or a line over time, for any event count or aggregate, with the change from the previous period.

### Bar and table

A metric broken down by device, plan, country, or any property, as ranked bars or a sortable table.

### Sankey

A user-flow tile showing the paths people take between events, and where they branch off.

### Map

One metric per country, such as events or unique users, for every country with traffic.

### Markdown notes

Text tiles between the charts: what the board is for, and what to look at first.

## Filter, flag, and share a board

- A filter bar that narrows every tile at once
- Thresholds that color a KPI when it crosses a limit
- A public, read-only link for people without an account
- Any chart as a PNG share card, to download or copy

* [The insights behind the tiles](https://pug.sh/analytics)
* [Slice a board by user traits](https://pug.sh/user-analytics)

## An AI agent can build the board. It creates a dashboard or edits one with upsert_dashboard.

Connect Pug from Claude’s connectors directory or ChatGPT’s plugins, or any other MCP client, then ask for a board. The agent renames it, sets its time range, and adds, changes, or removes tiles. It can’t delete or share a dashboard, and an edit fails rather than overwrite a newer change.

[How the MCP server works](https://pug.sh/mcp)

## Self-hosted with the rest of Pug

Dashboards are part of the same build: the pug Go binary and four stores (PostgreSQL, ClickHouse, NATS, and Dragonfly or any Redis 7+), under AGPL-3.0.

- [Self-hosted analytics](https://pug.sh/self-hosted-analytics)
- [How the pipeline works](https://pug.sh/platform)
- [Pricing](https://pug.sh/pricing)

## Dashboard questions

### What is an analytics dashboard?

An analytics dashboard is a board of tiles (KPIs, line and bar charts, tables, and flows) built over your event data and sharing one time window. In Pug each tile is a saved insight over the same events and profiles.

### What can I put on a Pug dashboard?

KPI, line, area, bar, table, Sankey, and map tiles, plus Markdown notes. Each tile can compare against the previous period, and a KPI can change color when it crosses a threshold you set.

### Can I share a dashboard?

Yes. Make a board public and anyone with its link can view it, read-only, without a Pug account. Any chart also downloads or copies as a PNG share card.

### Can every tile share one time range?

Yes. A board has one time window and granularity that applies to every tile, so the whole dashboard moves together when you change the range.

### Is the dashboard free and self-hostable?

Yes. The dashboard is part of Pug: self-host it with the rest of Pug under AGPL-3.0, with no plans or limits, or use Pug Cloud, free up to 100,000 events a month. See self-hosted analytics.

### What powers the tiles?

The same seven insight types Pug ships (Trends, Funnels, Retention, Segmentation, User flow, Top K, and Map) over your raw events. A tile is an insight pinned to a board. See the analytics overview.
