
內容簡介
CTCL Analytics 是一款專為 CT Commerce Lite 設計的外掛,能在資訊畫面中新增分析子選項卡,讓使用者無需將訂單數據發送至外部分析服務,即可輕鬆探索商店的商品銷售與訂單量。
【主要功能】
• 查看最近 3、6 或 12 個月的銷售數據
• 過濾待處理訂單、已完成訂單或兩者
• 比較商品銷售與前一期間的數據
• 生成每月報告表,顯示總計與加權平均訂單價值
• 將選定期間的數據匯出為 UTF-8 CSV 檔案
• 僅限管理員可見,保護隱私
外掛標籤
開發者團隊
原文外掛簡介
CTCL Analytics adds an Analytics subtab to CT Commerce Lite’s Information screen. Explore your store’s item sales and order volume without sending order data to an external analytics service.
Features
View the last 3, 6, or 12 calendar months, including the current month.
Filter pending orders, completed orders, or both.
See item sales, order counts, average order value, and the best sales month.
Compare item sales with the preceding period of the same length.
Switch between sales and order charts, using line or bar views.
Read a monthly report table with totals and weighted average order value.
Export the selected period and status to a UTF-8 CSV file.
Use a responsive layout with labeled controls and a report table accessible to screen readers.
Use month boundaries in your WordPress site’s timezone, including orders late on the final day of a month.
Receive a warning when unreadable order details or invalid item totals are skipped.
What the report measures
Item sales use the stored items-total field from CT Commerce Lite orders, before tax, shipping, and order-level discounts. Average order value is item sales divided by the number of included orders. Free orders count toward the order total. Amounts are rounded to two decimal places.
Refunded orders and statuses other than pending or complete are excluded. Pending orders are not proof of collected payment; choose Completed only when you want completed-order reporting. These reports do not calculate net revenue, profit, or payment settlement.
The current month is partial. Comparisons use the immediately preceding equal-length period of calendar months; a partial current month may be compared with a full previous month. A comparison is unavailable when the previous period has no item sales.
The plugin reads up to 24 months of order history to support a 12-month comparison. It performs one orders query per analytics request and reuses the results for the chart, cards, and table. Changing filters and exporting CSV happen in your browser.
Privacy and bundled libraries
Analytics are available only to administrators with the manage_options capability. Only monthly totals and counts are sent to the dashboard, not customer names, addresses, or individual order details.
Chart.js 4.4.4 is bundled locally under the MIT license. No CDN connection or third-party analytics account is required. Chart.js source: https://github.com/chartjs/Chart.js/tree/v4.4.4
