Compare
Available since v2.12.0
Umami supports comparing websites stats and metrics across previous date ranges. See how your website performs versus the past and if it's trending in the right direction.
Parameters
| Parameter | Description |
|---|---|
| Previous date range | (required) Comparison date range which can be the previous period or year. |
Create an insight
Step 1: Choose a previous date range
- Previous period: Same date range from the most recent past period.
- Previous year: Same date range last year.

Step 2: Run insight
Compare mode will show website stats along with performance changes between the two periods. The graph will also display Views (Purple) and Visitors (Pink) lines from the previous period.

Compare individual metric stats. Each metric displays a percentage change indicator showing how it has changed compared to the previous period. A green indicator means improvement, while red indicates a decline.
