ReferrerType: Matomo Matomo Referrers Referrer Type
read only REST
- Catalog:
Matomo - Schema:
Referrers - Label: Matomo Referrers Referrer Type
Can only retrieve data.
Summary
Visits over one period broken down by referrer type - direct entry, search engines, websites, campaigns - one row per type.
API Source
- Endpoint:
/index.php?module=API&method=Referrers.getReferrerType&idSite={id_site}&period={period}&date={date}&format=json
Performance Characteristics
| Characteristic | Value |
|---|---|
| Write rows per minute | 6,790 |
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 ReferrerType 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_ |
int32 |
itgen_mat_bounce_count | filters on the platform, writable | Number of visits of this referrer type with exactly one action. | |
idsubdatatable |
int32 |
itgen_mat_idsubdatatable | filters on the platform, writable | ID of the drill-down sub-table for this referrer type (for instance, which search engines), where Matomo answers one: none on 'Direct Entry', one on 'Search Engines'. | |
label |
varchar2 |
itgen_mat_label | filters on the platform, writable | Referrer type name, for instance 'Direct Entry', 'Search Engines', 'Websites' or 'Campaigns'. | |
max_ |
int32 |
itgen_mat_max_actions | filters on the platform, writable | Maximum number of actions in a single visit of this referrer type. | |
nb_ |
int32 |
itgen_mat_nb_actions | filters on the platform, writable | Number of actions across visits of this referrer type. | |
nb_ |
int32 |
itgen_mat_nb_visits | filters on the platform, writable | Number of visits of this referrer type. | |
nb_ |
int32 |
itgen_mat_nb_visits_converted | filters on the platform, writable | Number of visits of this referrer type during which at least one goal was converted. | |
referrer_ |
int32 |
itgen_mat_referrer_type | filters on the platform, writable | Matomo's own numeric code for this referrer type (1 = direct, 2 = search engine, 3 = website, 6 = campaign). | |
segment |
varchar2 |
itgen_mat_segment | filters on the platform, writable | Matomo's own segment expression selecting exactly this referrer type, usable as the segment argument of another reporting table. | |
sum_ |
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 of this referrer type that day - not the same as a period-wide unique count, which Matomo does not sum this way across days. | |
sum_ |
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 of this referrer type that day. | |
sum_ |
int32 |
itgen_mat_sum_visit_length | filters on the platform, writable | Sum of the length of visits of this referrer type, in seconds. |