Google Tag Manager · Schema

Condition

Represents a predicate that is evaluated against a data layer value or variable. Used in trigger filter conditions.

AnalyticsConversion TrackingMarketingTag ManagementTracking

Properties

Name Type Description
type string The type of operator for this condition.
parameter array A list of named parameters (key/value), depending on the condition's type. The first parameter is the left-hand operand, the second is the right-hand operand.
View JSON Schema on GitHub

JSON Schema

google-tag-manager-v2-condition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Condition",
  "type": "object",
  "description": "Represents a predicate that is evaluated against a data layer value or variable. Used in trigger filter conditions.",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of operator for this condition."
    },
    "parameter": {
      "type": "array",
      "description": "A list of named parameters (key/value), depending on the condition's type. The first parameter is the left-hand operand, the second is the right-hand operand."
    }
  }
}