invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

ItemsCategory: Matomo Matomo Ecommerce Items Category

read only REST

  • Catalog: Matomo
  • Schema: Ecommerce
  • Label: Matomo Ecommerce Items Category

Can only retrieve data.

Summary

Ecommerce order items over one period, one row per product category ordered. Empty for a site with Ecommerce switched off, or with no order ever tracked.

API Source

  • Endpoint: /index.php?module=API&method=Goals.getItemsCategory&idSite={id_site}&period={period}&date={date}&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 3,620

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
date varchar2 The date the period is anchored on, or a range such as '2026-08-01,2026-08-31'.
id_site number The Matomo site ID to report on.
period varchar2 The reporting period: day, week, month, year or range.

Table Columns

The columns of the table ItemsCategory are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
avg_price double itgen_mat_avg_price filters on the platform, writable Average price of this product category across the orders that included it.
avg_quantity double itgen_mat_avg_quantity filters on the platform, writable Average quantity of this product category per order that included it.
conversion_rate varchar2 itgen_mat_conversion_rate filters on the platform, writable Conversion rate for this product category, formatted by Matomo itself as a percentage.
label varchar2 itgen_mat_label filters on the platform, writable The product category.
orders int32 itgen_mat_orders filters on the platform, writable Number of orders that included this product category.
quantity int32 itgen_mat_quantity filters on the platform, writable Total quantity of this product category ordered.
revenue double itgen_mat_revenue filters on the platform, writable Revenue from orders of this product category.
segment varchar2 itgen_mat_segment filters on the platform, writable Matomo's own segment expression selecting exactly this product category, usable as the segment argument of another reporting table.