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

# Analytics Period Comparison

> Compare any analytics period with the previous period or the same dates last year, with changes shown across metrics, tables, and charts.

Period comparison adds a **baseline and a change indicator** across your dashboard, so "197 sessions" becomes "197 sessions, up 12% from last week". You pick a comparison mode next to the date range, and the baseline appears on every stat card, every breakdown, and the time-series chart at once — because "is this number good?" is unanswerable without something to compare it to.

## How do I turn on comparison?

Open the **comparison menu** next to the date picker and choose a mode. The button's own label shows the active comparison, so you can always see what you're comparing against without opening the menu.

| Mode                | Compares against                                                |
| ------------------- | --------------------------------------------------------------- |
| **No comparison**   | Nothing — the default.                                          |
| **Previous period** | The equal-length window immediately before your selected range. |
| **Year over year**  | The same dates one year earlier.                                |

## What does comparison add to each report?

Turning on a comparison lights up the whole dashboard from a single toggle:

* **Stat cards** gain a change percentage versus the baseline.
* **Breakdown tables** gain a change column on every row, so you can see which pages, referrers, or countries moved.
* **The time-series chart** draws a muted, dashed **baseline line** behind your current line, with a legend naming both date ranges and a tooltip that labels the baseline point with its *own* date — not a vague "previous".
* **The Performance report** compares your Core Web Vitals, correctly treating *lower as better* (a rising LCP shows red, not green).

## Where isn't comparison available?

Comparison covers your dashboard reports, with one exception: the [Bots & AI crawlers report](/docs/bot-ai-crawler-analytics) has no comparison option next to its date range.

## Should I use previous period or year over year?

**Previous period** compares your range to the equal window just before it — last 7 days versus the 7 days before that. It's best for spotting recent movement.

**Year over year** compares the **same calendar dates** one year earlier, which is best for seasonal businesses where "versus last month" is misleading. tinyanalytics compares the same dates directly, the way you'd expect when you read "year over year".

## How do I read the change indicators?

A change indicator shows the direction and size of the move. When there's **no baseline** — a referrer that sent zero traffic last period and some this period — tinyanalytics shows it as **new** rather than an arithmetically meaningless "+100%". Comparison is exact for every row shown, including a big mover that wasn't in last period's top rows, so you never miss the referrer that jumped from nowhere to the top.

<Note>
  Comparison is a property of the **date range**, which is why the control lives next to it. Changing your range keeps the comparison mode; the baseline recalculates for the new window.
</Note>

## Frequently asked questions

<AccordionGroup>
  <Accordion title="Why does a row show 'new' instead of +100%?">
    Because there's no baseline to compare against. When a row had zero traffic in the comparison period — a referrer that sent nothing last week and some this week — tinyanalytics labels it **new** rather than an arithmetically meaningless "+100%".
  </Accordion>

  <Accordion title="Does period comparison work on Core Web Vitals?">
    Yes. The Performance report compares your Core Web Vitals against the baseline and correctly treats lower as better, so a rising LCP shows red rather than green. See [Core Web Vitals](/docs/core-web-vitals-analytics).
  </Accordion>

  <Accordion title="Does changing the date range turn off my comparison?">
    No. Comparison is a property of the date range, which is why the control sits next to it. Changing your range keeps the comparison mode you selected, and the baseline recalculates for the new window.
  </Accordion>
</AccordionGroup>

## Related

<Columns cols={2}>
  <Card title="Dashboard overview" icon="gauge" href="/docs/web-analytics-dashboard">
    The metrics and breakdowns comparison annotates.
  </Card>

  <Card title="Annotations" icon="note-sticky" href="/docs/analytics-annotations">
    Mark what changed on the date a number moved.
  </Card>

  <Card title="Core Web Vitals" icon="gauge-high" href="/docs/core-web-vitals-analytics">
    Compare performance, with lower-is-better handling.
  </Card>

  <Card title="Filter your data" icon="filter" href="/docs/analytics-filters">
    Compare a filtered slice against its own baseline.
  </Card>
</Columns>


## Related topics

- [Core Web Vitals Analytics](/docs/core-web-vitals-analytics.md)
- [Migrate Analytics Data to tinyanalytics](/docs/migrate-analytics-data-to-tinyanalytics.md)
- [Web Analytics Dashboard](/docs/web-analytics-dashboard.md)
