---
title: "ContainerVariablesByContainerVersion (Matomo)"
description: "Matomo Tag Managerin konttimuuttujat"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/matomo/Matomo.TagManager.ContainerVariablesByContainerVersion
original: https://documentation.invantive.eu/en/datamodels/matomo/Matomo.TagManager.ContainerVariablesByContainerVersion
updated: 2026-12-04T07:38:36Z
license: https://documentation.invantive.eu/fi/
---

# ContainerVariablesByContainerVersion: Matomo Matomo Tag Manager Container Variables

`insert` `REST`

- Luettelo: `Matomo`
- Kaavio: `TagManager`
- Ensisijaiset avaimet: `idvariable`
- Label: Matomo Tag Manager Container Variables

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

## Yhteenveto

A named value tags and triggers read: a cookie, a URL parameter, a fixed constant, or Matomo's own tracking configuration. Read and insert; update/delete deferred as representative-sibling scope (see the remarks above ContainerTriggersByContainerVersion for the shared insert-side reasoning this table's own build closed).

## API-lähde

- Päätepiste: `/index.php?module=API&method=TagManager.getContainerVariables&idSite={id_site}&idContainer={id_container}&idContainerVersion={id_container_version}&format=json`

## Suorituskykyominaisuudet

| Ominaisuus | Arvo |
|---|---:|
| Kirjoita rivejä minuutissa | 3,620 |

Tulos voidaan tallentaa välimuistiin asiakaspuolella.

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `id_container` | `varchar2` | [x] |  | The container to list variables of - Matomo.TagManager.Containers.idcontainer. |
| `id_container_version` | `number` | [x] |  | The version to list variables of - Matomo.TagManager.ContainerVersionsByContainer.idcontainerversion. |
| `id_site` | `number` | [x] |  | The Matomo site ID the container belongs to. |

## Taulukon sarakkeet

Taulukon `ContainerVariablesByContainerVersion` 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 |
|---|---|---|:---:|---|---|
| `created_date` | `varchar2` | itgen_mat_created_date | [ ] | suodattimet alustalla, kirjoitettavissa | Date and time the variable was created, as returned by Matomo.Matomo does not document which time zone this is expressed in. |
| `default_value` | `varchar2` | itgen_mat_default_value | [ ] | suodattimet alustalla, kirjoitettavissa | Value used when the variable itself cannot be resolved. |
| `description` | `varchar2` | itgen_mat_description | [ ] | suodattimet alustalla, kirjoitettavissa | Variable description. |
| `idcontainer` | `varchar2` | itgen_mat_idcontainer | [ ] | suodattimet alustalla, kirjoitettavissa | The container this variable belongs to - addContainerVariable's own required insert argument.Nullable because getContainerVariables' own response, unlike getContainerVersions', carries no idContainer property at all (confirmed live 2026-08-30) - this column always reads null, supply it only on insert. |
| `idcontainerversion` | `int32` | itgen_mat_idcontainerversion | [x] | suodattimet alustalla, kirjoitettavissa | The version this variable belongs to.Same case-sensitivity reason as idsite/idcontainer below: addContainerVariable's own PHP parameter is 'idContainerVersion' - measured live 2026-08-30, the lowercase field name alone answers a 400 with no body this method's own security level redacts from the trace, found only by printing the actual form body built. |
| `idsite` | `int32` | itgen_mat_idsite | [x] | suodattimet alustalla, kirjoitettavissa | Site ID the container belongs to. |
| `idvariable` | `int32` | itgen_mat_idvariable | [x] | suodattimet alustalla, kirjoitettavissa | Variable ID - assigned by Matomo on insert, never written. |
| `lookup_table` | `varchar2` | itgen_mat_lookup_table | [ ] | suodattimet alustalla, kirjoitettavissa | Lookup table mapping the variable's raw value to a substitute, as JSON text, for a type that supports one. |
| `name` | `varchar2` | itgen_mat_name | [x] | suodattimet alustalla, kirjoitettavissa | Variable name. |
| `parameters` | `varchar2` | itgen_mat_parameters | [ ] | suodattimet alustalla, kirjoitettavissa | 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. |
| `status` | `varchar2` | itgen_mat_status | [ ] | suodattimet alustalla, kirjoitettavissa | Variable status, for instance 'active'. |
| `type` | `varchar2` | itgen_mat_type | [x] | suodattimet alustalla, kirjoitettavissa | Variable type, as defined by Matomo: for instance 'Constant' (one parameter, constantValue) or 'MatomoConfiguration' (over 60).The types available per context are in TagManager.AvailableVariableTypesByContext. |
| `updated_date` | `varchar2` | itgen_mat_updated_date | [ ] | suodattimet alustalla, kirjoitettavissa | Date and time the variable was last changed, as returned by Matomo.Matomo does not document which time zone this is expressed in. |
