invantive documentation
Invantive Support ForumsLog In / Sign Up

ContentNames: Matomo Matomo Contents Content Names

read only REST

  • Catalog: Matomo
  • Schema: Contents
  • Label: Matomo Contents Content Names

Can only retrieve data.

Summary

Content impressions and interactions over one period, broken down by content name, one row per name (Matomo's own 'name - piece' concatenation).

API Source

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

Performance Characteristics

Characteristic Value
Write rows per minute 3,270

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 ContentNames 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
interaction_rate varchar2 itgen_mat_interaction_rate filters on the platform, writable nb_interactions as a share of nb_impressions, formatted by Matomo itself as a percentage.
label varchar2 itgen_mat_label filters on the platform, writable The content's own name, concatenated by Matomo itself with the content piece ('name - piece') where more than one piece shares a name.
nb_impressions varchar2 itgen_mat_nb_impressions filters on the platform, writable Number of times this content was shown. Numeric, though Matomo does not report it with a consistent type.
nb_interactions int32 itgen_mat_nb_interactions filters on the platform, writable Number of times this content was interacted with (for instance clicked).
nb_uniq_visitors int32 itgen_mat_nb_uniq_visitors filters on the platform, writable Number of unique visitors shown this content.
nb_visits varchar2 itgen_mat_nb_visits filters on the platform, writable Number of visits during which this content was shown. Numeric, though Matomo does not report it with a consistent type - see UserCountry.Country's own equivalent column.
segment varchar2 itgen_mat_segment filters on the platform, writable Matomo's own segment expression selecting exactly this content name, usable as the segment argument of another reporting table.
sum_daily_nb_uniq_visitors int32 itgen_mat_sum_daily_nb_uniq_visitors filters on the platform, writable Sum, over every day in the period, of the number of unique visitors shown this content that day - not the same as a period-wide unique count, which Matomo does not sum this way across days.