CLI Reporting Reference
Run AttribIQ overview, revenue, campaign, goal, and funnel reports from scripts, release checks, and internal tools.
Quick answer
The CLI is for revenue questions in scripts, agents, and release workflows. Start with overview, revenue by campaign, and signup-to-paid funnel inspection.
On this page
What you’ll learn
- Run revenue reports from the command line
- Group revenue by campaign, source, or landing page
- Inspect funnels in JSON
- Use CLI output in automation
The AttribIQ CLI is for teams that want revenue reports outside the dashboard.
It is useful in release checks, weekly reporting scripts, internal agents, and operational workflows where JSON output is easier to consume than a browser dashboard.
Overview report
attribiq overview --project proj_123 --from 90d --json
Use the overview command to retrieve your project’s traffic and revenue report for a date range.
Revenue by campaign
attribiq revenue --project proj_123 --from 30d --group-by campaign --json
Useful groupings include:
sourcecampaignlanding_pagereferrercountrydevicepath
Use campaign reports when deciding which launch, newsletter, ad, or partner effort deserves more work.
Funnel inspection
attribiq funnels inspect --project proj_123 --json signup-to-paid
Use the output to compare completion at each configured funnel step.
Automation pattern
Use CLI reports for questions like:
- Did revenue by campaign drop after a release?
- Which landing page had the most attributed revenue this week?
- Did a launch email create paid conversion?
- Which funnel step lost the most revenue?
Use JSON output to include reports in your own scripts.
Next steps
Install the tracker with Install AttribIQ, then connect payments through Stripe revenue attribution or the Payment API reference.
Frequently asked questions
- Is the CLI required?
- No. The dashboard is the primary interface. The CLI is useful for developers who want reports in scripts and automation.
- Should CLI output be JSON?
- Use JSON for automation and table output for humans. The examples here prefer JSON because it is easier to pipe into tools.
- What project identifier should I use?
- Use the project public ID from AttribIQ project settings.
- Can the CLI query funnels?
- Yes. Use the funnels inspect command with your funnel slug and project ID.
Continue learning
Put it into practice
See traffic and revenue in the same dashboard
Explore traffic sources, campaigns, goals and matched payments in the demo, then connect your own site.