ContainerTagsByContainerVersion: Matomo Matomo Tag Manager Container Tags
insert REST
- Katalog:
Matomo - Schéma:
TagManager - Primární klíče:
idtag - Label: Matomo Tag Manager Container Tags
Pomocí insert lze načíst a měnit data.
Shrnutí
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.
Zdroj API
- Koncový bod:
/index.php?module=API&method=TagManager.getContainerTags&idSite={id_site}&idContainer={id_container}&idContainerVersion={id_container_version}&format=json
Provozní charakteristiky
| Charakteristika | Hodnota |
|---|---|
| Počet řádků za minutu | 3,620 |
Výsledek lze uložit do mezipaměti na straně klienta.
Parametry
| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|---|---|---|
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. |
Sloupce tabulky
Sloupce tabulky ContainerTagsByContainerVersion jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).
| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|---|---|---|
block_ |
varchar2 |
itgen_mat_block_trigger_ids | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | Tag description. | |
end_ |
varchar2 |
itgen_mat_end_date | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | Delay before firing, in milliseconds. | |
fire_ |
varchar2 |
itgen_mat_fire_limit | filtry na platformě, zapisovatelné | How often the tag may fire per page, for instance 'unlimited' or 'once'. | |
fire_ |
varchar2 |
itgen_mat_fire_trigger_ids | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | Site ID the container belongs to. | |
idtag |
int32 |
itgen_mat_idtag | filtry na platformě, zapisovatelné | Tag ID - assigned by Matomo on insert, never written. | |
name |
varchar2 |
itgen_mat_name | filtry na platformě, zapisovatelné | Tag name. | |
parameters |
varchar2 |
itgen_mat_parameters | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | Fire order relative to other tags on the same trigger - lower fires first. | |
start_ |
varchar2 |
itgen_mat_start_date | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | Tag status, for instance 'active'.Pausing or resuming a tag is an update of this column. | |
type |
varchar2 |
itgen_mat_type | filtry na platformě, zapisovatelné | 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 | filtry na platformě, zapisovatelné | Date and time the tag was last changed, as returned by Matomo.Matomo does not document which time zone this is expressed in. |