Vireo Pro

WP-CLI analytics commands: revenue and traffic

Vireo Pro adds wp vireo commands, so you can read revenue and traffic from the command line, in scripts or over SSH across sites.

Plan
Vireo Pro, while its license is active
Formats
table, json, yaml, csv
Default range
The last 30 days

Commands

  • wp vireo revenue: net revenue, orders and revenue per visitor.
  • wp vireo sources: revenue by source, medium and campaign, with orders and average order value.
  • wp vireo products: best-selling products or downloads, with views, purchases, revenue and conversion.
  • wp vireo stores: which stores Vireo tracks, and which have orders in the range.
  • wp vireo traffic: traffic totals for a range, one metric per row.
  • wp vireo funnel [<funnel>] and wp vireo paths [<path>]: step-by-step drop-off through a funnel, and where people go next from a page.

Set it up

  1. Activate Vireo Pro on the site.
  2. Run the commands with WP-CLI on the server. Add --start and --end as YYYY-MM-DD, --store=woo, edd, fluentcart or freemius on the revenue commands, --limit from 1 to 100, and --format.
wp vireo sources --start=2026-09-01 --limit=25 --format=csv

Free or Pro

Vireo Pro. The free plugin has no commands. See pricing.

Worth knowing

  • Commands are read-only.
  • Without an active Pro license, the commands aren't registered.

Docs

Related integrations

All integrations

Try Vireo on your own site

Vireo Analytics is a free WordPress plugin. It counts visits without cookies and keeps everything in your own database. Vireo Pro adds revenue, goals and the rest.

Get Vireo free on WordPress.org