Trigger class Null safety

Represents a Google Tag Manager Trigger

Constructors

Trigger({String? accountId, List<Condition>? autoEventFilter, Parameter? checkValidation, String? containerId, Parameter? continuousTimeMinMilliseconds, List<Condition>? customEventFilter, Parameter? eventName, List<Condition>? filter, String? fingerprint, Parameter? horizontalScrollPercentageList, Parameter? interval, Parameter? intervalSeconds, Parameter? limit, Parameter? maxTimerLengthSeconds, String? name, List<Parameter>? parameter, String? parentFolderId, Parameter? selector, Parameter? totalTimeMinMilliseconds, String? triggerId, String? type, Parameter? uniqueTriggerId, Parameter? verticalScrollPercentageList, Parameter? visibilitySelector, Parameter? visiblePercentageMax, Parameter? visiblePercentageMin, Parameter? waitForTags, Parameter? waitForTagsTimeout})
Trigger.fromJson(Map json_)

Properties

accountId String?
GTM Account ID.
read / write
autoEventFilter List<Condition>?
Used in the case of auto event tracking.
read / write
checkValidation Parameter?
Whether or not we should only fire tags if the form submit or link click event is not cancelled by some other event handler (e.g. because of validation).
read / write
containerId String?
GTM Container ID.
read / write
continuousTimeMinMilliseconds Parameter?
A visibility trigger minimum continuous visible time (in milliseconds).
read / write
customEventFilter List<Condition>?
Used in the case of custom event, which is fired iff all Conditions are true.
read / write
eventName Parameter?
Name of the GTM event that is fired.
read / write
filter List<Condition>?
The trigger will only fire iff all Conditions are true.
read / write
fingerprint String?
The fingerprint of the GTM Trigger as computed at storage time.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
horizontalScrollPercentageList Parameter?
List of integer percentage values for scroll triggers.
read / write
interval Parameter?
Time between triggering recurring Timer Events (in milliseconds).
read / write
intervalSeconds Parameter?
Time between Timer Events to fire (in seconds).
read / write
limit Parameter?
Limit of the number of GTM events this Timer Trigger will fire.
read / write
maxTimerLengthSeconds Parameter?
Max time to fire Timer Events (in seconds).
read / write
name String?
Trigger display name.
read / write
parameter List<Parameter>?
Additional parameters.
read / write
parentFolderId String?
Parent folder id.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selector Parameter?
A click trigger CSS selector (i.e. "a", "button" etc.).
read / write
totalTimeMinMilliseconds Parameter?
A visibility trigger minimum total visible time (in milliseconds).
read / write
triggerId String?
The Trigger ID uniquely identifies the GTM Trigger.
read / write
type String?
Defines the data layer event that causes this trigger.
read / write
uniqueTriggerId Parameter?
Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any.
read / write
verticalScrollPercentageList Parameter?
List of integer percentage values for scroll triggers.
read / write
visibilitySelector Parameter?
A visibility trigger CSS selector (i.e. "#id").
read / write
visiblePercentageMax Parameter?
A visibility trigger maximum percent visibility.
read / write
visiblePercentageMin Parameter?
A visibility trigger minimum percent visibility.
read / write
waitForTags Parameter?
Whether or not we should delay the form submissions or link opening until all of the tags have fired (by preventing the default action and later simulating the default action).
read / write
waitForTagsTimeout Parameter?
How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true.
read / write

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited