Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Tag

import type { Tag } from "https://googleapis.deno.dev/v1/tagmanager:v2.ts";

Represents a Google Tag Manager Tag.

interface Tag {
accountId?: string;
blockingRuleId?: string[];
blockingTriggerId?: string[];
consentSettings?: TagConsentSetting;
containerId?: string;
fingerprint?: string;
firingRuleId?: string[];
firingTriggerId?: string[];
liveOnly?: boolean;
monitoringMetadata?: Parameter;
monitoringMetadataTagNameKey?: string;
name?: string;
notes?: string;
parameter?: Parameter[];
parentFolderId?: string;
path?: string;
paused?: boolean;
priority?: Parameter;
scheduleEndMs?: bigint;
scheduleStartMs?: bigint;
setupTag?: SetupTag[];
tagFiringOption?:
| "tagFiringOptionUnspecified"
| "unlimited"
| "oncePerEvent"
| "oncePerLoad";
tagId?: string;
tagManagerUrl?: string;
teardownTag?: TeardownTag[];
type?: string;
workspaceId?: string;
}

§Properties

§
accountId?: string
[src]

GTM Account ID.

§
blockingRuleId?: string[]
[src]

Blocking rule IDs. If any of the listed rules evaluate to true, the tag will not fire. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
blockingTriggerId?: string[]
[src]

Blocking trigger IDs. If any of the listed triggers evaluate to true, the tag will not fire. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
consentSettings?: TagConsentSetting
[src]

Consent settings of a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
containerId?: string
[src]

GTM Container ID.

§
fingerprint?: string
[src]

The fingerprint of the GTM Tag as computed at storage time. This value is recomputed whenever the tag is modified.

§
firingRuleId?: string[]
[src]

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. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
firingTriggerId?: string[]
[src]

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.

§
liveOnly?: boolean
[src]

If set to true, this tag will only fire in the live environment (e.g. not in preview or debug mode). @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
monitoringMetadata?: Parameter
[src]

A map of key-value pairs of tag metadata to be included in the event data for tag monitoring. Notes: - This parameter must be type MAP. - Each parameter in the map are type TEMPLATE, however cannot contain variable references. @mutable tagmanager.accounts.containers.workspaces.tags.create

§
monitoringMetadataTagNameKey?: string
[src]

If non-empty, then the tag display name will be included in the monitoring metadata map using the key specified. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
name?: string
[src]

Tag display name. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
notes?: string
[src]

User notes on how to apply this tag in the container. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
parameter?: Parameter[]
[src]

The tag's parameters. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
parentFolderId?: string
[src]

Parent folder id.

§
path?: string
[src]

GTM Tag's API relative path.

§
paused?: boolean
[src]

Indicates whether the tag is paused, which prevents the tag from firing.

§
priority?: Parameter
[src]

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.

§
scheduleEndMs?: bigint
[src]

The end timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
scheduleStartMs?: bigint
[src]

The start timestamp in milliseconds to schedule a tag. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
setupTag?: SetupTag[]
[src]

The list of setup tags. Currently we only allow one.

§
tagFiringOption?: "tagFiringOptionUnspecified" | "unlimited" | "oncePerEvent" | "oncePerLoad"
[src]

Option to fire this tag.

§
tagId?: string
[src]

The Tag ID uniquely identifies the GTM Tag.

§
tagManagerUrl?: string
[src]

Auto generated link to the tag manager UI

§
teardownTag?: TeardownTag[]
[src]

The list of teardown tags. Currently we only allow one.

§
type?: string
[src]

GTM Tag Type. @mutable tagmanager.accounts.containers.workspaces.tags.create @mutable tagmanager.accounts.containers.workspaces.tags.update

§
workspaceId?: string
[src]

GTM Workspace ID.