InvantiveのドキュメントInvantive Cloudの一部
Invantive サポートフォーラムログイン / 会員登録

Configuration: Matomo Matomo Custom Dimensions Configuration

insert REST

  • カタログ:Matomo
  • スキーマ: CustomDimensions
  • 主キー:idcustomdimension
  • Label: Matomo Custom Dimensions Configuration

insert を使用して、データの取得や変更を行うことができます。

概要

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ソース

  • エンドポイント: /index.php?module=API&method=CustomDimensions.getConfiguredCustomDimensions&idSite={id_site}&format=json

性能特性

特徴 値
書き込みの毎分行数 3,620

結果はクライアント側でキャッシュすることができます。

パラメータ

名前 データ型 必須 デフォルト ドキュメント
id_site number The Matomo site ID to list configured custom dimensions of.

表の列

テーブル Configuration の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

名前 データ型 ラベル 必須 マーク ドキュメント
active char itgen_mat_active プラットフォーム上でフィルタ可能、書き込み可能 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 プラットフォーム上でフィルタ可能、書き込み可能 Whether extraction pattern matching is case-sensitive.Matomo's own parameter is 'caseSensitive'.
description varchar2 itgen_mat_description プラットフォーム上でフィルタ可能、書き込み可能 Dimension description.Matomo answers an empty string rather than null when none is set.
extractions varchar2 itgen_mat_extractions プラットフォーム上でフィルタ可能、書き込み可能 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 プラットフォーム上でフィルタ可能、書き込み可能 Dimension ID, assigned by Matomo on insert - a slot number scoped to (idsite, scope), not globally unique.Never written.
idsite int32 itgen_mat_idsite プラットフォーム上でフィルタ可能、書き込み可能 Site ID the dimension is configured on.Matomo's own configureNewCustomDimension() takes it as 'idSite'.
index int32 itgen_mat_index プラットフォーム上でフィルタ可能、書き込み可能 Slot number within (idsite, scope) - 1 through 5 on the free edition.Assigned by Matomo on insert, never written.
name varchar2 itgen_mat_name プラットフォーム上でフィルタ可能、書き込み可能 Dimension name, shown throughout Matomo's own reporting UI.
scope varchar2 itgen_mat_scope プラットフォーム上でフィルタ可能、書き込み可能 Where this dimension is captured: 'visit' or 'action'.Set on insert; configureExistingCustomDimension has no parameter to change it afterwards.