diff --git a/SKILLS.md b/SKILLS.md index 26cb13c..94e24c8 100644 --- a/SKILLS.md +++ b/SKILLS.md @@ -243,7 +243,7 @@ formo analytics top_wallets --date-from 2026-04-01 --date-to 2026-04-30 --params formo analytics retention --filters '[{"field":"location","op":"eq","value":"US"}]' ``` -Each pipe accepts pipe-specific params via `--params` (see each command's `--help`): e.g. `funnel` → `steps`, `window_seconds`, `funnel_type`, `group_by`, `limit`, `attribution`; `kpis` → `group_by`, `limit`; `top_*` → `limit`, `offset`. +Each pipe accepts pipe-specific params via `--params` (see each command's `--help`): e.g. `funnel` → `steps`, `window_seconds`, `funnel_type`, `group_by`, `limit`, `attribution`; `kpis` → `group_by`, `limit`; `revenue_overview` → `group_by`, `rank_by`, `limit`; `revenue_by_metric` / `volume_by_metric` → `metric_column`, `limit`, `offset`; `top_*` → `limit`, `offset`. The revenue pipes accept `paid_source` (acquiring ad network) for `group_by` / `metric_column`, alongside `channel_type` / `channel`. On `kpis`, `top_*`, `revenue_*` and `volume_by_metric`, `--params '{"page_scope":"session"}'` widens a `page` filter from page-scoped metrics (the default) to the legacy session scope. diff --git a/src/commands/analytics.ts b/src/commands/analytics.ts index 8fa2164..c90b816 100644 --- a/src/commands/analytics.ts +++ b/src/commands/analytics.ts @@ -26,10 +26,10 @@ const PIPES: Array<{ name: string; description: string }> = [ { name: 'frequency', description: 'Engagement frequency distribution' }, { name: 'lifecycle', description: 'User lifecycle stages (new, returning, power, resurrected, churned)' }, { name: 'retention', description: 'Retention cohort analysis (params: id_type, event_type, event_name, min_users)' }, - { name: 'revenue_overview', description: 'Revenue overview with optional breakdown (params: group_by, rank_by)' }, - { name: 'revenue_by_metric', description: 'Revenue ranked by a metric column (params: metric_column, limit, offset)' }, + { name: 'revenue_overview', description: 'Revenue overview with optional breakdown (params: group_by — incl. channel_type and paid_source for ad network, rank_by)' }, + { name: 'revenue_by_metric', description: 'Revenue ranked by a metric column (params: metric_column — incl. channel and paid_source for ad network, limit, offset)' }, { name: 'revenue_timeseries', description: 'Revenue over time (params: address)' }, - { name: 'volume_by_metric', description: 'Trading volume ranked by a metric column (params: metric_column, limit, offset)' }, + { name: 'volume_by_metric', description: 'Trading volume ranked by a metric column (params: metric_column — incl. channel and paid_source for ad network, limit, offset)' }, { name: 'top_chains', description: 'Top chains by activity (params: limit, offset)' }, { name: 'top_events', description: 'Top events by count (params: limit, offset, type)' }, { name: 'top_locations', description: 'Top locations (params: limit, offset)' },