https://github.com/agilo/medusa-analytics-plugin
Get actionable insights into your store's performance and make data-driven decisions right from the Medusa Admin dashboard.
https://github.com/agilo/medusa-analytics-plugin
analytics medusa medusa-plugin medusa-v2 medusajs medusajs-v2
Last synced: 2 months ago
JSON representation
Get actionable insights into your store's performance and make data-driven decisions right from the Medusa Admin dashboard.
- Host: GitHub
- URL: https://github.com/agilo/medusa-analytics-plugin
- Owner: Agilo
- Created: 2025-05-21T13:33:00.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-08-01T14:16:41.000Z (2 months ago)
- Last Synced: 2025-08-01T15:41:35.866Z (2 months ago)
- Topics: analytics, medusa, medusa-plugin, medusa-v2, medusajs, medusajs-v2
- Language: TypeScript
- Homepage:
- Size: 256 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Medusa Analytics Plugin
Get actionable insights into your store's performance and make data-driven decisions right from the Medusa Admin dashboard.## Overview
The Medusa Analytics Plugin is a lightweight analytics extension for the Medusa Admin dashboard. It provides store admins with a clear view of sales and product performance using focused KPIs, charts, and tables, all accessible directly within the Medusa Admin panel.
✅ Compatible with Medusa v2
## Features
- **Date Range Picker** with presets: This Month, Last Month, Last 3 Months, Custom Range (applies to all analytics)
- **Tabbed Interface**: Switch between Orders and Products analytics
- **Charts & KPIs**:
- **Orders Tab**:
- Total Orders (KPI)
- Total Sales (KPI)
- Orders Over Time (Line Chart)
- Sales Over Time (Line Chart)
- Top Regions by Sales (Bar Chart)
- Order Status Breakdown (Pie Chart)
- **Products Tab**:
- Top-Selling Products (Bar Chart)
- Out-of-Stock Variants (Table)
- Low Stock Variants (Table)## Getting Started
1. **Install the plugin** in your Medusa project:
```bash
yarn add @agilo/medusa-analytics-plugin
```
2. **Add the plugin** to your Medusa backend configuration. In `medusa-config.ts`, add the following to the `plugins` array:```js
plugins: [
{
resolve: '@agilo/medusa-analytics-plugin',
options: {},
},
// ...other plugins
],
```3. **Install dependencies:**
```bash
yarn
```
4. **Start your Medusa server:**
```bash
yarn dev
```
5. **Access the Analytics page** from the Medusa Admin dashboard.## Contributing
We welcome contributions and feedback.
To get involved, [open an issue](https://github.com/Agilo/medusa-analytics-plugin/issues) or [submit a pull request](https://github.com/Agilo/medusa-analytics-plugin/pulls) on [GitHub →](https://github.com/Agilo/medusa-analytics-plugin)