CLI
Your analytics, from your terminal.
Run one command to see every website's traffic, revenue, uptime and site score in a table, find what needs attention, and get what to fix. It only reads, and you can run it without installing it.
14-day free trial · No card required · From $9/month
The answers you'd open the dashboard for.
Start with npx @supranalytics/cli login, then ask for what you need. Commands about one website take its domain, or a default you set with use.
- overview
- Every website in one table: visitors and change, revenue, uptime, who's online, site score, conversion, bounce rate, pageviews and session time.
- health
- Only what needs attention: websites down, checks that have stopped, low site scores, and SSL certificates or domains about to expire.
- report
- One website's period: what changed, its top channels and pages, its goals and its health.
- insights
- The latest site audit's scores and what to fix, worst first, with
--promptsfor a prompt to paste into an AI coding tool. - uptime
- Status, uptime from 24 hours to a year, response times and the latest incidents.
- sources and peak
- Channels and referrers with gains and drops, and the busiest hours of the week as a text heatmap.
Made for scripts as well as people.
Add --json to a report for the data, and set SUPRANALYTICS_API_KEY to an account API key for CI. A check on your deploys can be one line: supranalytics health --json.
- Exit codes scripts can rely on: 0 worked, 1 didn't, 2 asked wrongly
- Tables fit your terminal's width, and colour goes when you set
NO_COLOR --periodpicks the dates, and--filter country=USnarrowsreport,sourcesandpeak
Your sign-in stays yours.
login opens your browser, where you allow it. Your sign-in is kept in a file only you can read, and logout ends it on the server too. The CLI sends no analytics of its own.
Set it up.
Sign in
Run
npx @supranalytics/cli loginand allow it in your browser.See everything
Run
npx @supranalytics/cli overviewfor every website in one table.Keep it handy
npm i -g @supranalytics/clilets you typesupranalytics overviewfrom then on.
How it works, in detail.
The docs page “SuprAnalytics CLI” goes through it step by step.
Limits worth knowing
- Read-only: it can't change settings, send data or start a new site audit
- No commands for visitors, chats or recordings; the read API and MCP server have them, with your permission
- Needs Node 18.3 or later
- Scripts need an account API key (
pa_…); website keys (pk_…) only send data
Questions, answered.
Do I need to install anything?
npx @supranalytics/cli runs it without installing, and npm i -g @supranalytics/cli keeps it around.Can it change anything in my account?
Can it read my visitors' emails and chats?
How do I use it in CI?
SUPRANALYTICS_API_KEY, and add --json. The docs have an example.Which plans include it?
More features
- One script, every frameworkA line in the head of your pages, with guides for every common framework and builder.Open
- A prompt for coding agentsOne prompt sets up tracking, goals and checkout tagging with your coding agent.Open
- MCP serverAsk Claude, ChatGPT or any MCP client about anything on your dashboard in plain words.Open
- REST APIRead every report, and send goals, payments and crawler hits from your server.Open
- Script configurationEvery supr-* attribute and window.supr() call: goals, identification and more.Open
- User identificationPut a name and an email on a visitor, so journeys and chats show who they are.Open
- Tracking parametersUTM tags and ref links, and how channels are worked out from them.Open
See it on your own website.
Every feature is on every plan, with a free trial and no card.
14-day free trial · No card requiredPricingHow it worksAll features