invantive documentation
Invantive Support ForumsLog In / Sign Up

Users: Matomo Matomo User ID Users

read only REST

  • Catalog: Matomo
  • Schema: UserId
  • Label: Matomo User ID Users

Can only retrieve data.

Summary

Visits over one period broken down by Matomo's own persistent User ID - one row per User ID, empty where no visit on the site has ever carried one. idvisitor links a row to Live.VisitsByFilter's own visitor_id column for the same visitor.

API Source

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

Performance Characteristics

Characteristic Value
Write rows per minute 3,160

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 Users 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
bounce_count int32 itgen_mat_bounce_count filters on the platform, writable Number of visits carrying this User ID with exactly one action.
idvisitor varchar2 itgen_mat_idvisitor filters on the platform, writable Matomo's own opaque visitor identifier for this User ID - the same value Live.VisitsByFilter's own visitor_id column carries for a matching visit.
label varchar2 itgen_mat_label filters on the platform, writable The User ID, as the site's own tracker sent it.
max_actions int32 itgen_mat_max_actions filters on the platform, writable Maximum number of actions in a single visit carrying this User ID.
nb_actions int32 itgen_mat_nb_actions filters on the platform, writable Number of actions across visits carrying this User ID.
nb_visits int32 itgen_mat_nb_visits filters on the platform, writable Number of visits carrying this User ID.
nb_visits_converted int32 itgen_mat_nb_visits_converted filters on the platform, writable Number of visits carrying this User ID during which at least one goal was converted.
segment varchar2 itgen_mat_segment filters on the platform, writable Matomo's own segment expression selecting exactly this User ID, 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 carrying this User ID that day.
sum_daily_nb_users int32 itgen_mat_sum_daily_nb_users filters on the platform, writable Sum, over every day in the period, of the number of visits with a User ID set carrying this User ID that day.
sum_visit_length int32 itgen_mat_sum_visit_length filters on the platform, writable Sum of the length of visits carrying this User ID, in seconds.