Skip to main content

User Guide

MX Metrics for WHMCS

Revenue Analytics & Profitability Tracking

Version 1.6.3 · Complete documentation

Last updated: April 2026

Installation

Estimated time: 5 minutes

Requirements: WHMCS 8.0+, PHP 8.1+, ionCube Loader

Step 1: Upload Files

  1. 1.Extract mx_metrics.zip
  2. 2.Upload the mx_metrics/ folder to /modules/addons/

Expected folder structure:

/whmcs/modules/addons/mx_metrics/
├── mx_metrics.php
├── hooks.php
├── hooks/
├── widgets/
├── lib/
└── templates/

Step 2: Activate & License

  1. 1.Go to Setup → Addon Modules
  2. 2.Find "MX Metrics" and click Activate
  3. 3.Click Configure and enter your license key
  4. 4.Set Access Control to "Full Administrator"
  5. 5.Click Save Changes
MX Metrics addon configuration screen showing license key field and access control settings
Click to zoom

Addon configuration with license key

Done! The widgets will appear on your Dashboard automatically.

Dashboard Widgets

MX Metrics adds 4 dashboard widgets plus a Client MRR Profile on each client page, and 3 admin tabs (Settings, Cost Management, Service Breakdown). Each component answers a specific business question.

WHMCS
Dashboard
MRR & ARR
$42.6K
MRR
$511K
ARR
Recurring Services Cost$8.2K
Infrastructure$4.9K
Marketing$1.2K
Operations & Staff$3.5K
Software Licenses$890
Unassigned$1.6K
Subtotal Recurring Cost$20.3K
Net Recurring Profit$22.3K
Profit Margin52.3%
Top Clients by Revenue
Client Revenue
Pinnacle Digital Group$1,840
ServerStack Solutions$1,290
DataBridge Technologies$985
Mark Henderson$720
CloudPath Media$645
Redline Hosting Co.$580
Jessica Torres$495
NorthBay Systems$460
Apex Cloud Services$420
Brian Whitfield$385
TrueHost Networks$340
Sarah Kim$299
Lighthouse Digital$275
DevOps Central LLC$249
Martin O'Brien$199
Coastal Web Design$149
Amy Richardson$129
PixelForge Studio$99
Recurring Revenue Breakdown
MRR Breakdown
Sort by: |
Cloud VPS (KVM)(28) 22%$4,125
Dedicated Servers(7) 14%$2,625
cPanel Business Hosting(85) 14%$2,550
WordPress Managed(52) 11%$2,080
Shared Hosting(178) 9%$1,690
SSL Certificates(145) 8%$1,450
Email Hosting(62) 6%$1,116
Domain Registration(210) 5%$875
Reseller Hosting(12) 4%$780
Cloud Backup(35) 3%$525
DDoS Protection(18) 2%$360
High Support Clients
Clients by Total Tickets
Rachel Nguyen23
Brightline Hosting17
Thomas Andersen14
GreenLeaf Studios9
NetCore Systems6
Amy Richardson5
Blue Orbit Media5
Carlos Medina4
FastTrack Hosting4
Diana Patel3
Coastal Web Design3
Kevin Yoo2
Summit Digital2
Laura Bennett1
PixelForge Studio1
Copyright © WHMCS 2026. All Rights Reserved.

Dashboard with all MX Metrics widgets

1. MRR & ARR Widget

“Am I actually making money?”

MRR & ARR
$42.6K
MRR
$511K
ARR
Recurring Services Cost$8.2K
Infrastructure$4.9K
Marketing$1.2K
Operations & Staff$3.5K
Software Licenses$890
Unassigned$1.6K
Subtotal Recurring Cost$20.3K
Net Recurring Profit$22.3K
Profit Margin52.3%

MRR - Monthly Recurring Revenue from all active services

ARR - Annual Recurring Revenue (MRR × 12)

Recurring Services Cost - Sum of all service costs

Fixed Expenses - Your business expenses by category

Net Recurring Profit - Revenue minus all costs

Profit Margin - Net profit as a percentage of revenue. Compare against hosting industry benchmarks (typically 30-50%) to see where you stand

Tip: Use the Monthly/Annually toggle to switch between views.

2. Top Clients by Revenue

“Who are my most valuable clients?”

Top Clients by Revenue
Client Revenue
Pinnacle Digital Group$1,840
ServerStack Solutions$1,290
DataBridge Technologies$985
Mark Henderson$720
CloudPath Media$645
Redline Hosting Co.$580
Jessica Torres$495
NorthBay Systems$460
Apex Cloud Services$420
Brian Whitfield$385
TrueHost Networks$340
Sarah Kim$299
Lighthouse Digital$275
DevOps Central LLC$249
Martin O'Brien$199
Coastal Web Design$149
Amy Richardson$129
PixelForge Studio$99

Shows your top clients ranked by revenue

Toggle between Monthly, Annually, or All-Time views

Click any client name to open their profile

3. Recurring Revenue Breakdown

“Which products drive my business?”

Recurring Revenue Breakdown
MRR Breakdown
Sort by: |
Cloud VPS (KVM)(28) 22%$4,125
Dedicated Servers(7) 14%$2,625
cPanel Business Hosting(85) 14%$2,550
WordPress Managed(52) 11%$2,080
Shared Hosting(178) 9%$1,690
SSL Certificates(145) 8%$1,450
Email Hosting(62) 6%$1,116
Domain Registration(210) 5%$875
Reseller Hosting(12) 4%$780
Cloud Backup(35) 3%$525
DDoS Protection(18) 2%$360

Revenue breakdown by product/service type

Shows active service count and percentage

Sort by Revenue or Popularity

4. High Support Clients

“Who costs me the most in support?”

High Support Clients
Clients by Total Tickets
Rachel Nguyen23
Brightline Hosting17
Thomas Andersen14
GreenLeaf Studios9
NetCore Systems6
Amy Richardson5
Blue Orbit Media5
Carlos Medina4
FastTrack Hosting4
Diana Patel3
Coastal Web Design3
Kevin Yoo2
Summit Digital2
Laura Bennett1
PixelForge Studio1

Clients ranked by total support tickets

Helps identify high-maintenance accounts

Use this data to justify pricing adjustments

5. Client MRR Profile

“How much MRR does this client generate?”

MRR Overview
MRR$480
ARR$5,760
Rank#12 by MRR
Active Services4

When you open any client's profile page (Clients → View/Search → click a client), an MRR Overview panel appears at the top showing:

  • MRR: This client's Monthly Recurring Revenue from all active services and domains
  • ARR: Annual projection (MRR x 12)
  • Rank: This client's position compared to all clients, ranked by MRR
  • Active Services: Count of active services and domains

MRR data rows are also injected into the native Clients Information table for quick reference without scrolling.

Note: The widget respects your display currency, compact numbers, and hide decimals settings.

MCP Integration: Flexible Client Lookup

When used with MCP Server, the MetricsService API supports flexible client MRR lookups. You can query by user ID, email address, client name, company name, or domain. Ask your AI assistant something like “What is the MRR for acme.com?” and it will resolve the client and return their metrics.

Cost Management

MX Metrics tracks costs at three levels: fixed business expenses, product-level costs, and service-level overrides.

Fixed Expenses (Business Costs)

Track your recurring business expenses like servers, licenses, marketing, and staff costs.

Cost management admin panel with expense groups
Click to zoom

Cost Management panel in Addons → MX Metrics

How to add expenses:

  1. 1.Go to Addons → MX Metrics
  2. 2.Click the Cost Management tab
  3. 3.Click + Add New Group to create a category (e.g., "Infrastructure")
  4. 4.Click + Add New Expense to add individual costs

Example groups: Infrastructure (servers, CDN, backups), Software & Licenses (WHMCS, cPanel), Operations (staff, contractors), Marketing (ads, affiliates)

Product Default Cost

Set a default monthly cost for each product. This cost applies to all services of that product type.

Product configuration showing Monthly Cost field
Click to zoom

Monthly Cost field on the product Pricing tab

How to set product cost:

  1. 1.Go to Setup → Products/Services → Products/Services
  2. 2.Click on a product to edit it
  3. 3.Go to the Pricing tab
  4. 4.Enter the Monthly Cost (what you pay for this service)
  5. 5.Save Changes

Service Cost Override

Override the default cost for individual services. Useful when you have negotiated different rates with suppliers.

Service edit page showing cost override field
Click to zoom

Service Cost Override field on the service edit page

How to override a service cost:

  1. 1.Go to Clients → Services (or open a client's profile)
  2. 2.Click on a service to edit it
  3. 3.Find the Service Cost Override field
  4. 4.Enter the cost (leave blank to use product default)

Cost Priority: Service Override > Product Default > None (shows warning in widget)

Settings

Configure MX Metrics behavior from the addon's Settings tab.

MX Metrics Settings tab showing display currency, compact numbers, hide decimals, and sample data options
Click to zoom

Settings tab in Addons → MX Metrics

Available Settings

Show Cost Breakdown

Enable or disable the profitability section in the MRR & ARR widget. When disabled, only MRR/ARR values are shown.

Display Currency

Choose which currency to display all metrics in. Supports 32+ currencies with automatic conversion using WHMCS exchange rates. Costs are stored in your base currency and auto-converted for display.

Required: Enable Currency Auto Update in Configuration → System Settings → Automation Settings → Currency Auto Update Settings so WHMCS keeps exchange rates current via the European Central Bank (ECB).

Compact Numbers (K/M/B)

Display large amounts in shorthand notation: $30,000 becomes $30K, $1,200,000 becomes $1.2M. Applied across all widgets when enabled.

Hide Decimals

Remove decimal places from all displayed amounts. For example, $4,500.00 shows as $4,500. Useful for dashboards where precision to the cent is not needed.

Profitability Breakdown

Toggle the cost breakdown section in the MRR and ARR widget on or off. When enabled, shows service costs, fixed expenses, net profit, and profit margin.

Sample Data (Seed/Clear)

One-click buttons to populate demo cost groups, fixed expenses, and MRR snapshots for testing. Useful for evaluating the addon before entering real data.

Caution: The Clear button removes all cost groups and fixed expenses, not just sample data.

Service Breakdown Tab

New in v1.6.2

The Service Breakdown tab (in Addons → MX Metrics) shows revenue broken down by service/product type with expandable accordion panels.

How it works

  • Each product/service group shows as a collapsible panel with service name, client count, MRR/MO, and ARR/YR
  • Expand any panel to see individual clients: name, domain, billing amount, billing cycle, and calculated MRR
  • Sorted by MRR descending so your highest-revenue services appear first

Deep-link from Revenue Breakdown

Click any product name in the Recurring Revenue Breakdown dashboard widget to jump directly to that product in the Service Breakdown tab. The tab auto-scrolls and expands the relevant accordion panel.

Note: The Service Breakdown tab respects your Compact Numbers and Hide Decimals settings.

Security

MX Metrics follows WHMCS security best practices to protect your admin panel.

CSRF Protection

All form submissions are validated with WHMCS CSRF tokens to prevent cross-site request forgery attacks.

XSS Escaping

All user-supplied data (client names, product names, expense labels) is escaped before rendering to prevent cross-site scripting.

Performance Caching

Widget data is cached for 10 minutes to minimize database queries. Cache is invalidated automatically when cost data changes.

Frequently Asked Questions

Why do I see a warning icon next to Net Profit?
This means some services don't have a cost defined. The warning shows how many items and their revenue. Your actual profit may be lower because these costs are missing.
How is MRR calculated?
MRR is calculated by summing all active services and converting them to monthly values. Quarterly services are divided by 3, annually by 12, etc. Domains are also included based on their registration period.
Can I hide the cost breakdown from staff?
Yes. Go to Addons → MX Metrics → Settings tab and disable "Show Cost Breakdown". The MRR/ARR widget will only show revenue, not costs or profit.
What happens if I don't set any costs?
The widgets will still work and show MRR/ARR. The cost breakdown will show $0 and a warning will indicate that costs are missing.
Does MX Metrics affect WHMCS performance?
No. MX Metrics uses optimized database queries and caches results for 10 minutes. Dashboard loads remain fast.
Which WHMCS versions are supported?
MX Metrics supports WHMCS 8.0 and newer. We recommend using the latest stable version (8.8+) for best compatibility.
What do Compact Numbers and Hide Decimals do?
Compact Numbers displays large amounts in shorthand: $30,000 becomes $30K, $1,200,000 becomes $1.2M. Hide Decimals removes the .00 from all amounts, so $4,500.00 shows as $4,500. Both settings apply across all widgets and admin tabs.

Need Help?

Our support team is ready to assist you with any questions about MX Metrics.