Freemius is a great app for selling WordPress products, it provides licenses management, customers management, refunds, coupons, automatic updates, and so much more.
However, it provides sales stats for individual products only.
I wanted to see the total sales from all my products , average daily income , gross sales by plugin, and all time sales.
So I created a simple shortcode that displays all those stats using the Freemius REST API.
This plugin is brought to you by the developers of WP Sheet Editor, a plugin for editing Posts, Pages, Products, Custom Post Types, and Users in a spreadsheet.
- Activate the plugin
- Get your API credentials from this page
Add your API credentials in your wp-config.php file:
Add this shortcode to a wp page: [vg_freemius_stats]
If you want the stats to be private , you can add the shortcode to a “private page”, or you can create an admin page (in wp-admin) and use the shortcode there.
In my personal case, I created my own dashboard in the frontend in a private website.