---
title: "ContainerTagsByContainerVersion (Matomo)"
description: "Matomo Tag Manager Container Tags"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.TagManager.ContainerTagsByContainerVersion
original: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.TagManager.ContainerTagsByContainerVersion
updated: 2026-11-10T15:13:36Z
license: https://documentation.invantive.eu/en/
---

# 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_container` | `varchar2` | [x] |  | The container to list tags of - Matomo.TagManager.Containers.idcontainer. |
| `id_container_version` | `number` | [x] |  | The version to list tags of - Matomo.TagManager.ContainerVersionsByContainer.idcontainerversion. |
| `id_site` | `number` | [x] |  | 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_trigger_ids` | `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_date` | `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_date` | `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_delay` | `int32` | itgen_mat_fire_delay | [ ] | filters on the platform, writable | Delay before firing, in milliseconds. |
| `fire_limit` | `varchar2` | itgen_mat_fire_limit | [ ] | filters on the platform, writable | How often the tag may fire per page, for instance 'unlimited' or 'once'. |
| `fire_trigger_ids` | `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 | [x] | 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 | [x] | filters on the platform, writable | Site ID the container belongs to. |
| `idtag` | `int32` | itgen_mat_idtag | [x] | filters on the platform, writable | Tag ID - assigned by Matomo on insert, never written. |
| `name` | `varchar2` | itgen_mat_name | [x] | 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_date` | `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 | [x] | 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_date` | `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. |

