NumberOfVisitsPerVisitDuration: Matomo Matomo Visitor Interest Number of Visits per Visit Duration
read only REST
- Catalog:
Matomo - Schema:
VisitorInterest - Label: Matomo Visitor Interest Number of Visits per Visit Duration
Can only retrieve data.
Summary
Visits over one period bucketed by visit duration, one row per fixed duration bucket Matomo defines (0-10s, 11-30s, ... 30+ min), every bucket always present regardless of visit count.
API Source
- Endpoint:
/index.php?module=API&method=VisitorInterest.getNumberOfVisitsPerVisitDuration&idSite={id_site}&period={period}&date={date}&format=json
Performance Characteristics
| Characteristic | Value |
|---|---|
| Write rows per minute | 37,000 |
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_ |
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 NumberOfVisitsPerVisitDuration 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 |
|---|---|---|---|---|---|
label |
varchar2 |
itgen_mat_label | filters on the platform, writable | Human-readable duration bucket, for instance '0-10s' or '30+ min'. | |
nb_ |
varchar2 |
itgen_mat_nb_visits | filters on the platform, writable | Number of visits whose duration falls in this bucket. Numeric, though Matomo does not report it with a consistent type. | |
segment |
varchar2 |
itgen_mat_segment | filters on the platform, writable | Matomo's own segment expression selecting exactly this duration bucket, usable as the segment argument of another reporting table. |