Custom WordPress Plugin
WordPress Admin Sales Dashboard
One screen in WP admin for daily sales and traffic, instead of jumping between WooCommerce and Analytics.
- Platform
- WordPress
- Stack
- PHP, WordPress, WooCommerce, Chart.js, Google Analytics API
Context
A store owner checked WooCommerce reports and Google Analytics separately every morning. It was two logins and a lot of clicking for numbers they wanted at a glance.
I built an admin plugin that pulls both into one dashboard inside WordPress.
How it works
- Reads sales straight from the WooCommerce order tables
- Pulls traffic from the Google Analytics API
- Renders both as charts with Chart.js on a single admin screen
- Caches the Analytics calls so the dashboard stays fast
Results
- Replaced a two tool morning routine with one screen
- Gave the owner a daily overview without leaving WP admin
Lessons
I would add a date range picker and a simple CSV export. The daily view covers the common case, but owners always end up wanting last week versus this week, and a file for their accountant.
Stack
- PHP
- WordPress
- WooCommerce
- Chart.js
- Google Analytics API