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

AllSites: Matomo Matomo Multi Sites All Sites

read only REST

  • Catalog: Matomo
  • Schema: MultiSites
  • Label: Matomo Multi Sites All Sites

Can only retrieve data.

Summary

Visit summary metrics over one period for every site the credentials give access to, one row per site. Unlike the other reporting tables, it takes no id_site parameter.

API Source

  • Endpoint: /index.php?module=API&method=MultiSites.getAll&period={period}&date={date}&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 1,310

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'.
period varchar2 The reporting period: day, week, month, year or range.

Table Columns

The columns of the table AllSites 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
actions_evolution varchar2 itgen_mat_actions_evolution filters on the platform, writable Change in nb_actions versus the equivalent previous period, formatted by Matomo itself as a signed percentage.
currency_symbol varchar2 itgen_mat_currency_symbol filters on the platform, writable, currencySymbol The site's own configured currency symbol, for the revenue columns on this row.
group varchar2 itgen_mat_group filters on the platform, writable The site's own configured group, blank where none is set.
hits int32 itgen_mat_hits filters on the platform, writable Number of tracker hits recorded for this site over the period.
idsite int32 itgen_mat_idsite filters on the platform, writable The Matomo site ID this row reports on.
label varchar2 itgen_mat_label filters on the platform, writable The site's own name.
main_url varchar2 itgen_mat_main_url filters on the platform, writable The site's own main URL.
nb_actions int32 itgen_mat_nb_actions filters on the platform, writable Number of actions across visits to this site over the period.
nb_pageviews int32 itgen_mat_nb_pageviews filters on the platform, writable Number of page views on this site over the period.
nb_visits int32 itgen_mat_nb_visits filters on the platform, writable Number of visits to this site over the period.
pageviews_evolution varchar2 itgen_mat_pageviews_evolution filters on the platform, writable Change in nb_pageviews versus the equivalent previous period, formatted by Matomo itself as a signed percentage.
period_name varchar2 itgen_mat_period_name filters on the platform, writable, periodName The reporting period this row covers, echoed back, for instance 'year'.
previous_nb_actions int32 itgen_mat_previous_nb_actions filters on the platform, writable nb_actions over the equivalent previous period.
previous_nb_pageviews int32 itgen_mat_previous_nb_pageviews filters on the platform, writable nb_pageviews over the equivalent previous period.
previous_nb_visits int32 itgen_mat_previous_nb_visits filters on the platform, writable nb_visits over the equivalent previous period.
previous_range varchar2 itgen_mat_previous_range filters on the platform, writable, previousRange The equivalent previous period the previous_* columns and the evolution percentages compare against, for instance '2025'.
previous_revenue double itgen_mat_previous_revenue filters on the platform, writable revenue over the equivalent previous period.
ratio double itgen_mat_ratio filters on the platform, writable This site's own share of nb_visits across every site in the response.
revenue double itgen_mat_revenue filters on the platform, writable Ecommerce and goal revenue for this site over the period.
revenue_evolution varchar2 itgen_mat_revenue_evolution filters on the platform, writable Change in revenue versus the equivalent previous period, formatted by Matomo itself as a signed percentage.
visits_evolution varchar2 itgen_mat_visits_evolution filters on the platform, writable Change in nb_visits versus the equivalent previous period, formatted by Matomo itself as a signed percentage.