GoalConversions: Matomo Matomo Goals Get
read only REST
- Catalog:
Matomo - Schema:
Goals - Label: Matomo Goals Get
Can only retrieve data.
Summary
Goal conversion metrics for one site over one period, summed across every goal defined on the site and split into a new-visitor half and a returning-visitor half. Every row is the site-wide total across all goals; a breakdown per goal is not available.
API Source
- Endpoint:
/index.php?module=API&method=Goals.get&idSite={id_site}&period={period}&date={date}&format=json
Performance Characteristics
| Characteristic | Value |
|---|---|
| Write rows per minute | 1,780 |
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 GoalConversions 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 |
|---|---|---|---|---|---|
conversion_ |
varchar2 |
itgen_mat_conversion_rate | filters on the platform, writable | Conversion rate, formatted by Matomo itself as a percentage. | |
conversion_ |
varchar2 |
itgen_mat_conversion_rate_new_visit | filters on the platform, writable | Conversion rate among new visitors, formatted by Matomo itself as a percentage. | |
conversion_ |
varchar2 |
itgen_mat_conversion_rate_returning_visit | filters on the platform, writable | Conversion rate among returning visitors, formatted by Matomo itself as a percentage. | |
nb_ |
int32 |
itgen_mat_nb_conversions | filters on the platform, writable | Number of goal conversions, summed across every goal. | |
nb_ |
int32 |
itgen_mat_nb_conversions_new_visit | filters on the platform, writable | Number of goal conversions by a new visitor. | |
nb_ |
int32 |
itgen_mat_nb_conversions_returning_visit | filters on the platform, writable | Number of goal conversions by a returning visitor. | |
nb_ |
int32 |
itgen_mat_nb_visits_converted | filters on the platform, writable | Number of visits during which at least one goal was converted. | |
nb_ |
int32 |
itgen_mat_nb_visits_converted_new_visit | filters on the platform, writable | Number of visits by a new visitor during which at least one goal was converted. | |
nb_ |
int32 |
itgen_mat_nb_visits_converted_returning_visit | filters on the platform, writable | Number of visits by a returning visitor during which at least one goal was converted. | |
revenue |
double |
itgen_mat_revenue | filters on the platform, writable | Revenue attributed to goal conversions, summed across every goal. | |
revenue_ |
double |
itgen_mat_revenue_new_visit | filters on the platform, writable | Revenue attributed to goal conversions by a new visitor. | |
revenue_ |
double |
itgen_mat_revenue_returning_visit | filters on the platform, writable | Revenue attributed to goal conversions by a returning visitor. |