> ## Documentation Index
> Fetch the complete documentation index at: https://seenpaid.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics

> The breakdowns behind attributed revenue: country, device, referrer, UTM campaigns, and the clicks → leads → sales funnel.

Revenue tells you *what earned*. The breakdowns on **Results** (under **More breakdowns**) tell you *where it came from*. They need [revenue attribution](/guides/turn-on-revenue-attribution) on, because they're built from tracked clicks.

## The breakdowns

Every dimension is ranked by clicks with the attributed revenue for each row beside it.

<CardGroup cols={2}>
  <Card title="Country" icon="globe">
    Where your buyers are. Rows with no geolocation are **Unknown**.
  </Card>

  <Card title="Device" icon="mobile">
    Mobile, desktop, tablet, plus OS and browser.
  </Card>

  <Card title="Referrer" icon="arrow-right-from-bracket">
    The site a click came from. No referrer is **Direct**.
  </Card>

  <Card title="UTM source / medium / campaign" icon="tag">
    For links you tagged. Untagged rows are **None**.
  </Card>

  <Card title="Top pages" icon="file-lines">
    Which destination URLs your clicks landed on.
  </Card>

  <Card title="Revenue per click" icon="coins">
    The metric that ranks a source honestly: a referrer with 10 clicks and one \$200 sale beats one with 900 clicks and nothing.
  </Card>
</CardGroup>

## Direct, Unknown, None

| Label | Meaning |
| - | - |
| **Direct** | No referrer: typed URL, in-app browser, or stripped referrer. Still a real, attributed click. |
| **Unknown** | That dimension couldn't be resolved: no geolocation, or an unrecognised device, OS or browser. |
| **None** | The link carried no UTM tag for that field. |

A large Direct share is normal for social traffic.

## The funnel and goals

```
clicks → leads → sales
```

**Leads** are mid-funnel conversions you report from your own site with `window.seenpaidTrackLead(email, kind)`; **goals** are any named conversion you fire with `window.seenpaidTrackGoal(name)`. Both are optional. Lots of clicks and few sales points at the landing page or offer; clicks but no leads points at the step before checkout. Results also shows a live count of visitors active in the last five minutes.

## The window

Every breakdown respects the window you pick (7, 30 or 90 days). For day-by-day trends ask an agent for [`get_analytics_timeseries`](/agents/tools-reference#get_analytics_timeseries); for a single dimension, [`get_analytics_breakdown`](/agents/tools-reference#get_analytics_breakdown).

<Card title="See what earned" icon="trophy" href="/guides/revenue-and-top-earners">
  Analytics explains the traffic; the by-post ranking shows the money.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.