reveata goals
View as MarkdownThe goals report from the command line - completions, converting visitors, conversion rate and revenue per goal.
On this page
reveata goals list is the goals report: completions, converting visitors, conversion rate and revenue per goal, with totals. It takes the same period and filter options as reveata stats and needs the goals:read scope.
goals completions lists individual completions of the last 30 days, newest first, with the visitor, page and source of each. goals update changes how a goal is shown (display name, description, colour, hidden, #1 KPI) and goals reset removes those settings; both need goals:write and the editor role, and never change the completions themselves.
To record a goal from your server, use reveata events send.
reveata goals list
Goal completions, converting visitors and revenue for a period.
Lists every goal completed in the range plus goals customised in the dashboard, by completions. Takes the same period and filter options as reveata stats overview.
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}/goals (goals:read).
reveata goals list --site example.com
reveata goals list --site example.com --period last_7d --jsonreveata goals completions
Individual goal completions of the last 30 days, newest first.
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--goal <name>: Goal name, e.g. signup--since <iso>: Only after this time, ISO-8601 (at most 30 days ago)--limit <n>: Maximum number of rows
Calls GET /api/v1/websites/{website}/goal-completions (goals:read).
reveata goals completions --site example.com --goal signup
reveata goals completions --site example.com --since 2026-10-20T00:00:00Z --jsonreveata goals update <goalName>
Rename, describe, recolour or hide a goal, or make it the #1 KPI (editor role).
--name sets the display name; the tracked goal name never changes.
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)--name <name>: Display name--description <text>: Description shown with it--colour <#hex>: Chart colour, e.g. #4f46e5--hidden <true|false>: Hide it from the dashboard lists--kpi <true|false>: Make this goal the website’s #1 KPI (true), or remove the mark (false)
Calls PUT /api/v1/websites/{website}/goals/{goalName} (goals:write).
reveata goals update signup --site example.com --name "Sign up" --kpi true
reveata goals update test_event --site example.com --hidden truereveata goals reset <goalName>
Remove a goal’s display settings; its completions are kept (editor role).
Options:
--site <id|domain>: Website id or domain (defaults to REVEATA_SITE, or a site key’s own website)-y, --yes: Confirm a delete, revoke, roll or removal (required; nothing is asked)
Calls DELETE /api/v1/websites/{website}/goals/{goalName} (goals:write).
reveata goals reset signup --site example.com --yes