Configuration: Matomo Matomo Custom Dimensions Configuration
insert REST
- Katalog:
Matomo - Skjema:
CustomDimensions - Primærnøkler:
idcustomdimension - Label: Matomo Custom Dimensions Configuration
Du kan hente og endre data ved hjelp av insert.
Sammendrag
A custom dimension slot configured on a site - up to five per scope, per Matomo's own free-edition cap. The value ValuesByDimension.id_dimension refers to.
API-kilde
- Endepunkt:
/index.php?module=API&method=CustomDimensions.getConfiguredCustomDimensions&idSite={id_site}&format=json
Ytelsesegenskaper
| Karakteristisk | Verdi |
|---|---|
| Skriv rader per minutt | 3,620 |
Resultatet kan lagres i hurtigbufferen på klienten.
Parametere
| Navn | Datatype | Nødvendig | Standard | Dokumentasjon |
|---|---|---|---|---|
id_ |
number |
The Matomo site ID to list configured custom dimensions of. |
Tabellkolonner
Kolonnene i tabellen Configuration vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.
| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|---|---|---|
active |
char |
itgen_mat_active | filtre i plattformen, skrivbar | Whether the dimension is active.A deactivated dimension still occupies its own slot - verified 2026-08-28, Matomo has no way to free a slot once used. | |
case_ |
char |
itgen_mat_case_sensitive | filtre i plattformen, skrivbar | Whether extraction pattern matching is case-sensitive.Matomo's own parameter is 'caseSensitive'. | |
description |
varchar2 |
itgen_mat_description | filtre i plattformen, skrivbar | Dimension description.Matomo answers an empty string rather than null when none is set. | |
extractions |
varchar2 |
itgen_mat_extractions | filtre i plattformen, skrivbar | Extraction rules deriving this dimension's value from a URL or another Matomo value, as JSON text - empty when none are configured.Read-only for now, see the remark above. | |
idcustomdimension |
int32 |
itgen_mat_idcustomdimension | filtre i plattformen, skrivbar | Dimension ID, assigned by Matomo on insert - a slot number scoped to (idsite, scope), not globally unique.Never written. | |
idsite |
int32 |
itgen_mat_idsite | filtre i plattformen, skrivbar | Site ID the dimension is configured on.Matomo's own configureNewCustomDimension() takes it as 'idSite'. | |
index |
int32 |
itgen_mat_index | filtre i plattformen, skrivbar | Slot number within (idsite, scope) - 1 through 5 on the free edition.Assigned by Matomo on insert, never written. | |
name |
varchar2 |
itgen_mat_name | filtre i plattformen, skrivbar | Dimension name, shown throughout Matomo's own reporting UI. | |
scope |
varchar2 |
itgen_mat_scope | filtre i plattformen, skrivbar | Where this dimension is captured: 'visit' or 'action'.Set on insert; configureExistingCustomDimension has no parameter to change it afterwards. |