Skip to content
Comparisons

Compare two periods without fooling yourself

3 min read · Updated · By the Reveata team

"Up 30% on last week" is the most common sentence in analytics and one of the least reliable. Whether a change is real depends on what you compared it with. Reveata offers several comparisons because each answers a different question. Picking the right one takes a few seconds and saves you from chasing changes that were never there.

The four comparisons

Press Compare next to the period button:

Comparison Use it when
Previous period Your traffic has no strong weekly rhythm, or you compare whole months.
Previous period, same weekdays Your traffic follows the working week, for example a business tool that is quiet at weekends.
Same period last year Your business is seasonal, or the period includes a holiday.
Custom range… You want a specific before and after, such as the weeks around a launch.

Every card then shows the change, and the chart adds a dotted line for the other period. See Periods, Now and pinned ranges.

Traps and how Reveata handles them

  1. Weekday mix. A range that isn't a whole number of weeks, such as 10 days, can hold a different number of weekend days than the range before it. Same weekdays shifts the earlier period back by whole weeks, so each Monday meets a Monday.
  2. Periods in progress. Today or Month to date is compared up to the same time of day on its last day, so a half-finished day isn't compared with a whole one.
  3. Short months. Month to date on 31 March compares with the same number of days just before when February is shorter, so a flat month shows no change.
  4. Leap years. Same period last year keeps the same number of days, so a range containing 29 February isn't compared with one day fewer.

Small numbers move a lot

Percentages hide how few events sit behind them. A hypothetical example: going from 4 new customers to 6 is "up 50%", but with numbers that small it could easily be chance. Before you treat a change as real:

  • Look at the absolute numbers, not only the percentage.
  • Check whether the same direction holds for a second period.
  • Compare over a longer range, such as 90 days against the 90 before.

Look for the cause, not just the change

When a change survives those checks, click into it: filter on the channel, page or campaign that moved. Chart notes and GitHub commits show what happened on each day. Revenue per visitor is often a better guide than visitors, because it doesn't swing with the size of a single traffic spike. See Revenue per visitor, the number to watch.

Pin the ranges you compare often

Launch weeks, sales and campaigns are worth pinning. Choose Custom, pick the days and press Pin; up to 10 date ranges per website. Pins are yours and follow you to any browser.

What to do next

  • If your product is used at work, make Previous period, same weekdays your default habit.
  • Pin your last launch or campaign so you can compare the next one with it.
  • Read How to read your weekly analytics report for a weekly routine built on these comparisons.

Do it in Reveata

In the dashboard

  1. Pick a period, press Compare and choose the comparison.
  2. Hover the chart to read both lines on each day.
  3. For a before and after, choose Custom range… and pick the earlier days yourself.

With the API

Last 30 days against the same weekdays before (compare takes previous_period, previous_period_dow, year_over_year, none or custom with compareFrom and compareTo):

bash
curl -G https://reveata.com/api/v1/websites/example.com/analytics/overview \
  -H "Authorization: Bearer $REVEATA_TOKEN" \
  --data-urlencode "period=last_30d" \
  --data-urlencode "compare=previous_period_dow"

With an AI assistant

With the MCP server connected, ask:

Use get_overview for the last 30 days compared with the same weekdays before, show the absolute numbers next to each percentage, and tell me which changes are large enough to look into.

Try it in your dashboardOpen your website in Reveata and follow the steps above with your own numbers.
Open dashboard →
Was this guide useful?

Next guides