server) tracking.
All analytics abilities
| Ability | Description | Capability | Plan |
|---|---|---|---|
maxi/get-analytics | [PRO] Query page view analytics. Report types: views, top-posts, sources, conversions. Supports date ranges, time grouping, and result limits. | manage_options | Pro |
maxi/manage-analytics-settings | [PRO] View or update analytics configuration. Set the analytics provider and check provider availability status. | manage_options | Pro |
maxi/get-analytics
Usemaxi/get-analytics to pull structured analytics data from your site. Select one of four report types depending on what you need.
Report types
top-posts — most viewed posts
top-posts — most viewed posts
Returns a ranked list of posts by total view count within a date range. Filter by post type and control how many results you receive.
views — time-grouped views for a post
views — time-grouped views for a post
Returns total or time-grouped view counts for a specific post. Group by
day, week, or month to see trends over time.sources — traffic source breakdown
sources — traffic source breakdown
Returns a breakdown of traffic sources with referrer domains and UTM parameter data (source, medium, campaign).
conversions — view-to-purchase rates
conversions — view-to-purchase rates
Returns view-to-purchase conversion rates for WooCommerce products. Requires WooCommerce to be active. Matches product page views against completed orders for the same period.
maxi/manage-analytics-settings
View or update your analytics configuration. Use theget action to check the current provider and its availability status.
update action:
Providers
| Provider | Description | Status |
|---|---|---|
server | Local tracking via the Maxi Web Analytics plugin. Data stays on your server with no third-party dependency. | Available when Maxi Web Analytics is active |
ga4 | Google Analytics 4 integration. | Coming soon |
The
server provider requires the Maxi Web Analytics plugin to be installed and active on your site. If it is not active, maxi/get-analytics returns an error indicating the provider is unavailable.WooCommerce revenue analysis
There are no dedicated WooCommerce analytics abilities for revenue totals, top-selling products, or order trends. To answer those questions, usemaxi/list-orders with date filters and compute the metrics from the returned order data. For per-product sales counts, read the total_sales meta key via maxi/get-meta on the product.