Store Metrics
plugin for woocomerce analytics
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/avorite/store-metrics/archive/refs/heads/main.zipA WordPress plugin for displaying comprehensive store statistics for WooCommerce - including most popular products, total sales, total deals, and ROI calculations.
Description
Store Metrics provides shop owners and administrators with an easy-to-use dashboard that displays key metrics about their WooCommerce store performance. Monitor your most profitable products, track sales, and get insights about your return on investment all in one place.
Key Features:
- Top 5 products display with images and sales data
- Monthly sales statistics
- ROI calculation based on product costs and expenses
- Easy filtering by year and month
- Cost price tracking for products
Requirements
- WordPress 5.0 or higher
- WooCommerce 5.0 or higher
- PHP 7.4 or higher
Installation
- Upload the
store-metricsfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Ensure WooCommerce is installed and activated
- Go to "Store Metrics" in the WordPress admin menu to view your statistics
Usage
Viewing Statistics
- Navigate to "Store Metrics" in your WordPress admin menu
- Use the year and month dropdown filters to select your desired timeframe
- View your store statistics for the selected period
Setting Product Cost Prices
- Edit any product in WooCommerce
- Find the "Cost Price" field in the Product Data > General tab
- Enter the cost price for the product
- Save the product
Configuring ROI Settings
- Go to the Store Metrics page
- Enter your PR Budget and Additional Costs for the selected month
- Click "Save Settings"
- View the calculated ROI based on your inputs
Frequently Asked Questions
Q: How is ROI calculated?
A: ROI is calculated by taking the total sales, subtracting the total cost of products sold and your marketing expenses (PR Budget and Additional Costs), then dividing that result by your total expenses.
Q: Can I export the statistics?
A: Currently, the statistics are only available for viewing in the dashboard. Export functionality may be added in future updates.
Q: Is this plugin compatible with multisite?
A: Yes, the plugin works with WordPress multisite installations.
Changelog
1.0.0
- Initial release
Credits
Developed by Maxim Shyian
License
This plugin is licensed under the GPL v2 or later.
/*
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/