invantive documentation
Invantive Support ForumsLog In / Sign Up

EventsByName: Matomo Matomo Events Get Name

read only REST

  • Catalog: Matomo
  • Schema: Events
  • Label: Matomo Events Get Name

Can only retrieve data.

Summary

Events tracked over one period, broken down by name and action combined, one row per name.

API Source

  • Endpoint: /index.php?module=API&method=Events.getName&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 EventsByName 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_event_value double itgen_mat_avg_event_value filters on the platform, writable Average event value recorded for this name.
label varchar2 itgen_mat_label filters on the platform, writable Event name and action combined, for instance 'TestVideo - Play' - the values RecordHit's own event_name/event_action parameters write.
max_event_value double itgen_mat_max_event_value filters on the platform, writable Largest event value recorded for this name.
min_event_value double itgen_mat_min_event_value filters on the platform, writable Smallest event value recorded for this name.
nb_events varchar2 itgen_mat_nb_events filters on the platform, writable Number of events of this name. Numeric, though Matomo does not report it with a consistent type.
nb_events_with_value varchar2 itgen_mat_nb_events_with_value filters on the platform, writable Number of events of this name that carried a numeric event value. Numeric, though Matomo does not report it with a consistent type.
nb_uniq_visitors int32 itgen_mat_nb_uniq_visitors filters on the platform, writable Number of unique visitors who triggered an event of this name.
nb_visits varchar2 itgen_mat_nb_visits filters on the platform, writable Number of visits during which an event of this name was triggered. Numeric, though Matomo does not report it with a consistent type - see Events.EventsByCategory's own equivalent column.
sum_event_value double itgen_mat_sum_event_value filters on the platform, writable Sum of the event values of this name.