Invantive-dokumentaatioosa Invantive Cloudia
Invantive-tukifoorumitKirjaudu sisään / Rekisteröidy

Configuration: Matomo Matomo Custom Dimensions Configuration

insert REST

  • Luettelo: Matomo
  • Kaavio: CustomDimensions
  • Ensisijaiset avaimet: idcustomdimension
  • Label: Matomo Custom Dimensions Configuration

Voit hakea ja muokata tietoja käyttämällä insert:aa.

Yhteenveto

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-lähde

  • Päätepiste: /index.php?module=API&method=CustomDimensions.getConfiguredCustomDimensions&idSite={id_site}&format=json

Suorituskykyominaisuudet

Ominaisuus Arvo
Kirjoita rivejä minuutissa 3,620

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

Parametrit

Nimi Tietotyyppi Tarvitaan Oletus Dokumentaatio
id_site number The Matomo site ID to list configured custom dimensions of.

Taulukon sarakkeet

Taulukon Configuration sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

Nimi Tietotyyppi Etiketti Tarvitaan Merkit Dokumentaatio
active char itgen_mat_active suodattimet alustalla, kirjoitettavissa 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_sensitive char itgen_mat_case_sensitive suodattimet alustalla, kirjoitettavissa Whether extraction pattern matching is case-sensitive.Matomo's own parameter is 'caseSensitive'.
description varchar2 itgen_mat_description suodattimet alustalla, kirjoitettavissa Dimension description.Matomo answers an empty string rather than null when none is set.
extractions varchar2 itgen_mat_extractions suodattimet alustalla, kirjoitettavissa 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 suodattimet alustalla, kirjoitettavissa Dimension ID, assigned by Matomo on insert - a slot number scoped to (idsite, scope), not globally unique.Never written.
idsite int32 itgen_mat_idsite suodattimet alustalla, kirjoitettavissa Site ID the dimension is configured on.Matomo's own configureNewCustomDimension() takes it as 'idSite'.
index int32 itgen_mat_index suodattimet alustalla, kirjoitettavissa Slot number within (idsite, scope) - 1 through 5 on the free edition.Assigned by Matomo on insert, never written.
name varchar2 itgen_mat_name suodattimet alustalla, kirjoitettavissa Dimension name, shown throughout Matomo's own reporting UI.
scope varchar2 itgen_mat_scope suodattimet alustalla, kirjoitettavissa Where this dimension is captured: 'visit' or 'action'.Set on insert; configureExistingCustomDimension has no parameter to change it afterwards.