reveata stats
View as MarkdownHeadline metrics, time series, breakdowns and new versus returning visitors for any period, from the command line.
On this page
reveata stats reads the same reports as the dashboard: headline metrics, charts over time, top pages, sources and countries, and new versus returning visitors. Every command needs the analytics:read scope.
Periods, comparisons and filters
These options work the same on every stats command, goals list and funnels results:
--period:realtime,today,yesterday,last_24h,last_7d,last_30d,last_90d,last_12m,week_to_date,last_week,month_to_date,last_month,year_to_date,all,custom. The default islast_30d.--fromand--to(YYYY-MM-DD, in the website's time zone) set a custom range and imply--period custom.--compare:previous_period,previous_period_dow,year_over_year,custom,none.--filter dimension:operator:value, repeatable (all filters must match). Operators:is,is_not,contains,not_contains,starts_with,ends_with,at_least,at_most. Separate alternative values with|, for example--filter "page:starts_with:/blog|/docs".--segment <id>applies a saved segment.
Dimensions: page, entry_page, exit_page, hostname, referrer, channel, source, utm_source, utm_medium, utm_campaign, utm_term, utm_content, ref, country, region, city, browser, os, device, screen, language, goal, external_link, visit_number, platform, prop.
Metrics: visitors, sessions, pageviews, views_per_session, bounce_rate, avg_session_duration, revenue, revenue_per_visitor, conversion_rate, payments, new_customers, refunds, goal_completions, goal_conversion_rate, exit_rate, time_on_page, scroll_depth.
exit_rate, time_on_page and scroll_depth are page metrics: they work only in stats breakdown --dimension page, and rows cannot be sorted by them.
Granularities for stats timeseries: minute, hour, day, week, month.
Commands
reveata stats overview
Headline metrics for a period, with the previous period.
Filters: --filter dimension:operator:value (repeatable, ANDed). Operators: is, is_not, contains, not_contains, starts_with, ends_with. goal:is_not:Signup keeps visits without Signup. --any (repeat, at least two) adds one "or" condition: visits matching any of them. Money is shown in the website currency.
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--period <period>: last_7d, last_30d (default), today, yesterday, last_12m, all, custom, …--from <YYYY-MM-DD>: Start day (implies --period custom)--to <YYYY-MM-DD>: End day (implies --period custom)--compare <mode>: previous_period (default), previous_period_dow (same weekdays), year_over_year, custom (with --compare-from/--compare-to) or none--compare-from <YYYY-MM-DD>: First day compared with (--compare custom)--compare-to <YYYY-MM-DD>: Last day compared with (--compare custom)--filter <dim:op:value>: Filter, e.g. country:is:DE (repeatable; separate alternatives with |)--any <dim:op:value>: An "or" condition: visits matching any --any filter (repeat, at least two), ANDed with --filter--segment <id>: Saved segment id
Calls GET /api/v1/websites/{website}/analytics/overview (analytics:read).
reveata stats overview --site example.com
reveata stats overview --site example.com --period last_7d --filter country:is:DE
reveata stats overview --site example.com --filter source:is:Google --filter goal:is_not:Signup
reveata stats overview --site example.com --any country:is:DE --any channel:is:paid_search
reveata stats overview --site example.com --from 2026-09-01 --to 2026-09-30reveata stats timeseries
Metrics per minute/hour/day/week/month.
Default metrics: visitors,revenue. Metrics: visitors, sessions, pageviews, views_per_session, bounce_rate, avg_session_duration, revenue, revenue_per_visitor, conversion_rate, payments, new_customers, refunds, goal_completions, goal_conversion_rate.
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--period <period>: last_7d, last_30d (default), today, yesterday, last_12m, all, custom, …--from <YYYY-MM-DD>: Start day (implies --period custom)--to <YYYY-MM-DD>: End day (implies --period custom)--compare <mode>: previous_period (default), previous_period_dow (same weekdays), year_over_year, custom (with --compare-from/--compare-to) or none--compare-from <YYYY-MM-DD>: First day compared with (--compare custom)--compare-to <YYYY-MM-DD>: Last day compared with (--compare custom)--filter <dim:op:value>: Filter, e.g. country:is:DE (repeatable; separate alternatives with |)--any <dim:op:value>: An "or" condition: visits matching any --any filter (repeat, at least two), ANDed with --filter--segment <id>: Saved segment id--metrics <a,b>: Comma-separated metrics--granularity <unit>: minute, hour, day, week or month
Calls GET /api/v1/websites/{website}/analytics/timeseries (analytics:read).
reveata stats timeseries --site example.com --metrics visitors,revenue --granularity day
reveata stats timeseries --site example.com --period today --granularity hour --jsonreveata stats breakdown
Top values of a dimension (pages, sources, countries, …).
Sorted by --sort (default: the first metric), descending. Default metrics: visitors. Dimensions: page, entry_page, exit_page, hostname, referrer, channel, source, utm_source, utm_medium, utm_campaign, utm_term, utm_content, ref, country, region, city, browser, os, device, screen, language, goal, external_link, visit_number, platform, prop. Metrics: visitors, sessions, pageviews, views_per_session, bounce_rate, avg_session_duration, revenue, revenue_per_visitor, conversion_rate, payments, new_customers, refunds, goal_completions, goal_conversion_rate. With --dimension page also: exit_rate, time_on_page, scroll_depth (not sortable).
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--period <period>: last_7d, last_30d (default), today, yesterday, last_12m, all, custom, …--from <YYYY-MM-DD>: Start day (implies --period custom)--to <YYYY-MM-DD>: End day (implies --period custom)--compare <mode>: previous_period (default), previous_period_dow (same weekdays), year_over_year, custom (with --compare-from/--compare-to) or none--compare-from <YYYY-MM-DD>: First day compared with (--compare custom)--compare-to <YYYY-MM-DD>: Last day compared with (--compare custom)--filter <dim:op:value>: Filter, e.g. country:is:DE (repeatable; separate alternatives with |)--any <dim:op:value>: An "or" condition: visits matching any --any filter (repeat, at least two), ANDed with --filter--segment <id>: Saved segment id--dimension <dimension>: Breakdown dimension, e.g. page--metrics <a,b>: Comma-separated metrics--sort <key>: Sort key, descending (see the command help)--limit <n>: Maximum number of rows--cursor <cursor>: Continue from a previous page
Calls GET /api/v1/websites/{website}/analytics/breakdown (analytics:read).
reveata stats breakdown --site example.com --dimension page
reveata stats breakdown --site example.com --dimension channel --metrics visitors,revenue --sort revenuereveata stats new-vs-returning
Metrics for first-time versus returning visitors.
Filters: --filter dimension:operator:value (repeatable, ANDed). Operators: is, is_not, contains, not_contains, starts_with, ends_with. goal:is_not:Signup keeps visits without Signup. --any (repeat, at least two) adds one "or" condition: visits matching any of them. Money is shown in the website currency.
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--period <period>: last_7d, last_30d (default), today, yesterday, last_12m, all, custom, …--from <YYYY-MM-DD>: Start day (implies --period custom)--to <YYYY-MM-DD>: End day (implies --period custom)--compare <mode>: previous_period (default), previous_period_dow (same weekdays), year_over_year, custom (with --compare-from/--compare-to) or none--compare-from <YYYY-MM-DD>: First day compared with (--compare custom)--compare-to <YYYY-MM-DD>: Last day compared with (--compare custom)--filter <dim:op:value>: Filter, e.g. country:is:DE (repeatable; separate alternatives with |)--any <dim:op:value>: An "or" condition: visits matching any --any filter (repeat, at least two), ANDed with --filter--segment <id>: Saved segment id
Calls GET /api/v1/websites/{website}/analytics/new-vs-returning (analytics:read).
reveata stats new-vs-returning --site example.com --period last_7dreveata mentions list
Posts on X and Reddit that mention the website.
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--platform <platform>: x or reddit--from <YYYY-MM-DD>: Start day (implies --period custom)--to <YYYY-MM-DD>: End day (implies --period custom)--limit <n>: Maximum number of rows
Calls GET /api/v1/websites/{website}/mentions (analytics:read).
reveata mentions list --site example.com
reveata mentions list --site example.com --platform reddit --from 2026-10-01