UNPKG

@pinelab/vendure-plugin-metrics

Version:

Vendure plugin measuring and visualizing e-commerce metrics

92 lines (52 loc) 2.51 kB
# 2.3.0 (2025-07-02) - Removed `device-detector-js` dependency and replaced with regex from https://stackoverflow.com/questions/11381673/detecting-a-mobile-browser # 2.2.0 (2025-06-04) - Upgrade to Vendure to 3.3.2 # 2.1.2 (2025-05-20) - Dedicated config for removing old request logs - Fixed bug where sessions were not being calculated correctly # 2.1.1 (2025-05-20) - Using `device-detector-js` to detect device type instead of `ua-parser-js`, because we see a lot of 'Unknown' devices in production. # 2.1.0 (2025-05-17) - Only track requests that are coming in via `pageVisit` mutation. - Added optional inputs to `pageVisit` mutation. # 2.0.1 (2025-05-16) - Renamed Visitors to Sessions # 2.0.0 (2025-05-15) - Added server side tracking: Log shop-api events and store in database, to allow for server side visitor tracking - Entities are loaded on plugin instead of in strategies, for better performance. - Metric results are now persisted in the database instead of in memory. - Generation of metrics and loading of entities moved to worker. # 1.7.1 (2025-05-02) - Fixed a bug where variant IDs were not being passed correctly to the metrics query. # 1.7.0 (2024-12-19) - Update Vendure to 3.1.1 # 1.6.1 (2024-12-18) - Fixed chart text color to display correctly in dark mode. # 1.6.0 (2024-11-19) - Allow showing metrics of past X months instead of always past 12 months. - Removed conversion metric, as it is can not be accurately calculated based on created orders alone - Small improvement in query performance # 1.5.0 (2024-11-03) - Allow specifying per metric if it's filterable by variant ID's - Added conversion metric - Fixed widget ID to prevent conflicts with Vendure's built in widget # 1.4.2 (2024-10-31) - Added loading state for widget # 1.4.1 (2024-10-31) - Only fetch relations from DB when variants are passed in for better performance # 1.4.0 (2024-10-31) - Added revenue (per variant) metric - Calculate with or without tax based on channel settings - Use number instead of currency formatting for Units Sold metric - Added a max cache age of 12 hours for metrics # 1.3.2 (2024-10-29) - Fix typescript build errors (#525) # 1.3.1 (2024-08-04) - Update compatibility range (#480) # 1.3.0 (2024-06-21) - Updated Vendure to 2.2.6 # 1.2.0 (2023-10-24) - Updated vendure to 2.1.1 # 1.1.0 (2023-09-076) - Reintroduced custom strategies and using the new Chartist charts ([#236](https://github.com/Pinelab-studio/pinelab-vendure-plugins/pull/236))