Parameter

Represents a Google Tag Manager Parameter.

JSON representation
{
  "type": enum (Type),
  "key": string,
  "value": string,
  "list": [
    {
      object (Parameter)
    }
  ],
  "map": [
    {
      object (Parameter)
    }
  ]
}
Fields
type

enum (Type)

The parameter type. Valid values are:

  • boolean

    : The value represents a boolean, represented as 'true' or 'false'

  • integer

    : The value represents a 64-bit signed integer value, in base 10

  • list

    : A list of parameters should be specified

  • map

    : A map of parameters should be specified

  • template

    : The value represents any text; this can include variable references (even variable references that might return non-string types)

  • trigger_reference

    : The value represents a trigger, represented as the trigger id

  • tag_reference

    : The value represents a tag, represented as the tag name

key

string

The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values.

value

string

A parameter's value (may contain variable references). as appropriate to the specified type.

list[]

object (Parameter)

This list parameter's parameters (keys will be ignored).

map[]

object (Parameter)

This map parameter's parameters (must have keys; keys must be unique).

Type

When modifying Type enum, make sure you keep the type field documentation in sync.

Enums
template May include variable references.
integer
boolean
list
map
triggerReference
tagReference