ContainerTagsByContainerVersion: Matomo Matomo Tag Manager Container Tags
insert REST
- Catalog:
Matomo - Schema:
TagManager - Primary Keys:
idtag - Label: Matomo Tag Manager Container Tags
Can retrieve data and change data using insert.
Summary
What fires, when its triggers say to: the unit which fire_trigger_ids and block_trigger_ids attach to ContainerTriggersByContainerVersion. Read and insert; update/delete deferred as representative-sibling scope, the same reasoning ContainerVariablesByContainerVersion's own build already closed.
API Source
- Endpoint:
/index.php?module=API&method=TagManager.getContainerTags&idSite={id_site}&idContainer={id_container}&idContainerVersion={id_container_version}&format=json
Performance Characteristics
| Characteristic | Value |
|---|---|
| Write rows per minute | 3,620 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
id_ |
varchar2 |
The container to list tags of - Matomo.TagManager.Containers.idcontainer. | ||
id_ |
number |
The version to list tags of - Matomo.TagManager.ContainerVersionsByContainer.idcontainerversion. | ||
id_ |
number |
The Matomo site ID the container belongs to. |
Table Columns
The columns of the table ContainerTagsByContainerVersion 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 |
|---|---|---|---|---|---|
block_ |
varchar2 |
itgen_mat_block_trigger_ids | filters on the platform, writable | ContainerTriggersByContainerVersion.idtrigger values that block this tag from firing even when a firing trigger matches, as JSON text (a JSON array of integers). | |
created_ |
varchar2 |
itgen_mat_created_date | filters on the platform, writable | Date and time the tag was created, as returned by Matomo. Matomo does not document which time zone this is expressed in. | |
description |
varchar2 |
itgen_mat_description | filters on the platform, writable | Tag description. | |
end_ |
varchar2 |
itgen_mat_end_date | filters on the platform, writable | Date the tag stops firing, or empty for no end restriction. Matomo does not document which time zone this is expressed in. | |
fire_ |
int32 |
itgen_mat_fire_delay | filters on the platform, writable | Delay before firing, in milliseconds. | |
fire_ |
varchar2 |
itgen_mat_fire_limit | filters on the platform, writable | How often the tag may fire per page, for instance 'unlimited' or 'once'. | |
fire_ |
varchar2 |
itgen_mat_fire_trigger_ids | filters on the platform, writable | ContainerTriggersByContainerVersion.idtrigger values that fire this tag, as JSON text (a JSON array of integers) - a required insert argument, measured live 2026-08-30 ("Fire Trigger: A value needs to be provided." without it), decomposed into indexed bracket-array form fields (fireTriggerIds[0]=..., not the bare repeated fireTriggerIds[]=...) by the same ParametersToFormBody mechanism, confirmed live to answer identically to Matomo's own repeated-key form. | |
idcontainer |
varchar2 |
itgen_mat_idcontainer | filters on the platform, writable | The container this tag belongs to - addContainerTag's own required insert argument. Nullable because getContainerTags' own response carries no idContainer property at all, the same absence ContainerVariablesByContainerVersion's own idcontainer already documents. | |
idcontainerversion |
int32 |
itgen_mat_idcontainerversion | filters on the platform, writable | The version this tag belongs to. addContainerTag's own PHP parameter is 'idContainerVersion' - case-sensitive, same reason as ContainerVariablesByContainerVersion's own idcontainerversion. | |
idsite |
int32 |
itgen_mat_idsite | filters on the platform, writable | Site ID the container belongs to. | |
idtag |
int32 |
itgen_mat_idtag | filters on the platform, writable | Tag ID - assigned by Matomo on insert, never written. | |
name |
varchar2 |
itgen_mat_name | filters on the platform, writable | Tag name. | |
parameters |
varchar2 |
itgen_mat_parameters | filters on the platform, writable | Type-specific configuration, as JSON text, in the same shape as the parameters column of ContainerTriggersByContainerVersion - decomposed into PHP's own bracket-array form fields on insert, see ParametersToFormBody. | |
priority |
int32 |
itgen_mat_priority | filters on the platform, writable | Fire order relative to other tags on the same trigger - lower fires first. | |
start_ |
varchar2 |
itgen_mat_start_date | filters on the platform, writable | Date the tag starts firing, or empty for no start restriction. Matomo does not document which time zone this is expressed in. | |
status |
varchar2 |
itgen_mat_status | filters on the platform, writable | Tag status, for instance 'active'. Pausing or resuming a tag is an update of this column. | |
type |
varchar2 |
itgen_mat_type | filters on the platform, writable | Tag type, as defined by Matomo: for instance 'Matomo', its own tracking tag, or 'ThemeColor'. The types available per context are in TagManager.AvailableTagTypesByContext. | |
updated_ |
varchar2 |
itgen_mat_updated_date | filters on the platform, writable | Date and time the tag was last changed, as returned by Matomo. Matomo does not document which time zone this is expressed in. |