Medusa Store Analytics Pro is the extended version of very popular plugin - Store Analytics.
This repository has been created for instruction purposes and as a place for raising bugs and improvements.
It is a commercial software so it requires a licence to be used.
Please raise an issue in Github issues.
Plugins supports two versions of charts - basic and modern.
- Install plugin by adding to your
package.json
. Use version 1.x.x.
...
"@rsc-labs/medusa-store-analytics-pro-v2": "1.1.1" // or other available version
...
and execute install, e.g. yarn install
.
- Add plugin to your
medusa-config.js
with the licence key, which you received:
...
plugins: [
{
resolve: "@rsc-labs/medusa-store-analytics-pro-v2",
options: {
licenceKey: <licence-key>
}
}
]
...
- Install plugin by adding to your
package.json
. Use version 2.x.x.
...
"@rsc-labs/medusa-store-analytics-pro-v2": "2.0.0" // or other available version
...
and execute install, e.g. yarn install
.
- Add plugin to your
medusa-config.js
with the licence key, which you received:
...
plugins: [
{
resolve: "@rsc-labs/medusa-store-analytics-pro-v2",
options: {
licenceKey: <licence-key>
}
}
]
...
- Configure
medusa-config.ts
import { withAnalyticsAdminConfig } from "@rsc-labs/medusa-store-analytics-pro-v2/css"
...
admin: {
vite: () => {
return withAnalyticsAdminConfig({}, { theme: 'sapphire'}) // or `daylight`
}
},
...
We support two themes - sapphire
and daylight
. You can preview them here: https://ui.shadcn.com/charts.
If you have already some vite configuration you can include it in a first parameter, e.g.
admin: {
vite: () => {
return withAnalyticsAdminConfig({
a: b,
c: d
}, { theme: 'sapphire'}) // or `daylight`
}
},
...
Plugin supports one additional option which you can pass into options
. It is related to statistic Abandoned average value
, which tells that customers did not finalize the cart. By default, abandoned cart is the one which was not updated in the last 7 days. You can configure it by your own. For instance, if cart needs to be treat as abandoned because it was not updated 20 days ago, then your configuration will look like this:
...
plugins: [
{
resolve: "@rsc-labs/medusa-store-analytics-pro-v2",
options: {
licenceKey: <licence-key>,
abandonedCartTimeInDays: 20
}
}
]
...
- Highly customizable dashboard, where you can choose any statistics you would like to see (PRO)
- Calendars for choosing date ranges (PRO)
- Choosing currency code just one time for all statistics (PRO)
- Filtering by orders' status (PRO)
- Advanced report in PDF with various statistics (PRO)
- Breakdown for cart progress (PRO)
- Average value of cart (PRO)
- Abandoned average value (PRO)
- Refunds to orders (PRO)
- Promotions to orders (PRO)
- Total promotions from orders (PRO)
- Orders split per status (PRO)
- Average units per order (PRO)
- Orders by time
- Orders chart
- Regions popularity
- Sales channel popularity
- Orders frequency distribution
- Payment provider popularity
- Average sales (PRO)
- Sales per channel (PRO)
- Net sales (PRO)
- Sales by time
- Sales by currency code
- Sales chart
- Refunds
- Average sales per customer (PRO)
- Customer lifetime value (PRO)
- New customers by time
- Repeat customer rate
- Customers chart
- Cumulative customers by time
- Retention customer rate
- Top variants
- Top returned variants
- Products sold count
- Out of the stock variants
- Top discounts
This plugin is now behind the licence, so we cannot share the source code.
As mentioned, this plugin is behind the licence. We offer two types of licences:
- subscription - recommended for people who create the store for their own, so for very low monthly cost you can have this functionality.
- lifetime - recommended for people who create the store for the client (so cannot spend money on monthly basis). For one price, you can get Store Analytics Pro forever.
We offer also 14-day free trial if you are not sure if you need this plugin - please reach us via [email protected] or go to https://medusa-plugins.com.