invantive documentation
Invantive Support ForumsLog In / Sign Up

EventsByAction: Matomo Matomo Events Get Action

read only REST

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

Can only retrieve data.

Summary

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

API Source

  • Endpoint: /index.php?module=API&method=Events.getAction&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 EventsByAction 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 action.
label varchar2 itgen_mat_label filters on the platform, writable Event action and name combined, for instance 'Play - TestVideo' - the values RecordHit's own event_action/event_name parameters write.
max_event_value double itgen_mat_max_event_value filters on the platform, writable Largest event value recorded for this action.
min_event_value double itgen_mat_min_event_value filters on the platform, writable Smallest event value recorded for this action.
nb_events varchar2 itgen_mat_nb_events filters on the platform, writable Number of events of this action. 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 action 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 this action.
nb_visits varchar2 itgen_mat_nb_visits filters on the platform, writable Number of visits during which this action 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 action.