Macro class

Represents a Google Tag Manager Macro.

Constructors

Macro()
Macro.fromJson(Map _json)

Properties

accountId String
GTM Account ID.
read / write
containerId String
GTM Container ID.
read / write
disablingRuleId List<String>
For mobile containers only: A list of rule IDs for disabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
read / write
enablingRuleId List<String>
For mobile containers only: A list of rule IDs for enabling conditional macros; the macro is enabled if one of the enabling rules is true while all the disabling rules are false. Treated as an unordered set.
read / write
fingerprint String
The fingerprint of the GTM Macro as computed at storage time. This value is recomputed whenever the macro is modified.
read / write
macroId String
The Macro ID uniquely identifies the GTM Macro.
read / write
name String
Macro display name.
read / write
notes String
User notes on how to apply this macro in the container.
read / write
parameter List<Parameter>
The macro's parameters.
read / write
parentFolderId String
Parent folder id.
read / write
scheduleEndMs String
The end timestamp in milliseconds to schedule a macro.
read / write
scheduleStartMs String
The start timestamp in milliseconds to schedule a macro.
read / write
type String
GTM Macro Type.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited