invantive documentation
Invantive Support ForumsLog In / Sign Up

ContainerTriggersByContainerVersion: Matomo Matomo Tag Manager Container Triggers

insert REST

  • Catalog: Matomo
  • Schema: TagManager
  • Primary Keys: idtrigger
  • Label: Matomo Tag Manager Container Triggers

Can retrieve data and change data using insert.

Summary

A condition that fires the tags attached to it: a page view, a click, a timer. 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.getContainerTriggers&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 The container to list triggers of - Matomo.TagManager.Containers.idcontainer.
id_container_version number The version to list triggers of - Matomo.TagManager.ContainerVersionsByContainer.idcontainerversion.
id_site number The Matomo site ID the container belongs to.

Table Columns

The columns of the table ContainerTriggersByContainerVersion 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
conditions varchar2 itgen_mat_conditions filters on the platform, writable Conditions narrowing when the trigger fires, as JSON text.
created_date varchar2 itgen_mat_created_date filters on the platform, writable Date and time the trigger 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 Trigger description.
idcontainer varchar2 itgen_mat_idcontainer filters on the platform, writable The container this trigger belongs to - addContainerTrigger's own required insert argument. Nullable because getContainerTriggers' 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 trigger belongs to. addContainerTrigger'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.
idtrigger int32 itgen_mat_idtrigger filters on the platform, writable Trigger ID - assigned by Matomo on insert, never written.
name varchar2 itgen_mat_name filters on the platform, writable Trigger name.
parameters varchar2 itgen_mat_parameters filters on the platform, writable Type-specific configuration, as JSON text.
status varchar2 itgen_mat_status filters on the platform, writable Trigger status, for instance 'active'.
type varchar2 itgen_mat_type filters on the platform, writable Trigger type, as defined by Matomo: for instance 'PageView' or 'AllElementsClick'. The types available per context are in TagManager.AvailableTriggerTypesByContext.
updated_date varchar2 itgen_mat_updated_date filters on the platform, writable Date and time the trigger was last changed, as returned by Matomo. Matomo does not document which time zone this is expressed in.