google_api_tag_manager v0.1.0 GoogleApi.TagManager.V2.Model.Tag View Source

Represents a Google Tag Manager Tag.

Attributes

  • accountId (String.t): GTM Account ID. Defaults to: null.
  • blockingRuleId ([String.t]): Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. Defaults to: null.
  • blockingTriggerId ([String.t]): Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. Defaults to: null.
  • containerId (String.t): GTM Container ID. Defaults to: null.
  • fingerprint (String.t): The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified. Defaults to: null.
  • firingRuleId ([String.t]): Firing rule IDs. A tag will fire when any of the listed rules are true and all of its blockingRuleIds (if any specified) are false. Defaults to: null.
  • firingTriggerId ([String.t]): Firing trigger IDs. A tag will fire when any of the listed triggers are true and all of its blockingTriggerIds (if any specified) are false. Defaults to: null.
  • liveOnly (boolean()): If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). Defaults to: null.
  • name (String.t): Tag display name. Defaults to: null.
  • notes (String.t): User notes on how to apply this tag in the container. Defaults to: null.
  • parameter ([Parameter]): The tag's parameters. Defaults to: null.
  • parentFolderId (String.t): Parent folder id. Defaults to: null.
  • path (String.t): GTM Tag's API relative path. Defaults to: null.
  • paused (boolean()): Indicates whether the tag is paused, which prevents the tag from firing. Defaults to: null.
  • priority (Parameter): User defined numeric priority of the tag. Tags are fired asynchronously in order of priority. Tags with higher numeric value fire first. A tag's priority can be a positive or negative value. The default value is 0. Defaults to: null.
  • scheduleEndMs (String.t): The end timestamp in milliseconds to schedule a tag. Defaults to: null.
  • scheduleStartMs (String.t): The start timestamp in milliseconds to schedule a tag. Defaults to: null.
  • setupTag ([SetupTag]): The list of setup tags. Currently we only allow one. Defaults to: null.
  • tagFiringOption (String.t): Option to fire this tag. Defaults to: null.

    • Enum - one of [oncePerEvent, oncePerLoad, tagFiringOptionUnspecified, unlimited]
  • tagId (String.t): The Tag ID uniquely identifies the GTM Tag. Defaults to: null.
  • tagManagerUrl (String.t): Auto generated link to the tag manager UI Defaults to: null.
  • teardownTag ([TeardownTag]): The list of teardown tags. Currently we only allow one. Defaults to: null.
  • type (String.t): GTM Tag Type. Defaults to: null.
  • workspaceId (String.t): GTM Workspace ID. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.TagManager.V2.Model.Tag{
  accountId: any(),
  blockingRuleId: [any()],
  blockingTriggerId: [any()],
  containerId: any(),
  fingerprint: any(),
  firingRuleId: [any()],
  firingTriggerId: [any()],
  liveOnly: any(),
  name: any(),
  notes: any(),
  parameter: [GoogleApi.TagManager.V2.Model.Parameter.t()],
  parentFolderId: any(),
  path: any(),
  paused: any(),
  priority: GoogleApi.TagManager.V2.Model.Parameter.t(),
  scheduleEndMs: any(),
  scheduleStartMs: any(),
  setupTag: [GoogleApi.TagManager.V2.Model.SetupTag.t()],
  tagFiringOption: any(),
  tagId: any(),
  tagManagerUrl: any(),
  teardownTag: [GoogleApi.TagManager.V2.Model.TeardownTag.t()],
  type: any(),
  workspaceId: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.