[−][src]Struct google_tagmanager2::Trigger
Represents a Google Tag Manager Trigger
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- containers workspaces triggers update accounts (request|response)
- containers workspaces triggers create accounts (request|response)
- containers workspaces triggers get accounts (response)
Fields
max_timer_length_seconds: Option<Parameter>
Max time to fire Timer Events (in seconds). Only valid for AMP Timer trigger.
total_time_min_milliseconds: Option<Parameter>
A visibility trigger minimum total visible time (in milliseconds). Only valid for AMP Visibility trigger.
unique_trigger_id: Option<Parameter>
Globally unique id of the trigger that auto-generates this (a Form Submit, Link Click or Timer listener) if any. Used to make incompatible auto-events work together with trigger filtering based on trigger ids. This value is populated during output generation since the tags implied by triggers don't exist until then. Only valid for Form Submit, Link Click and Timer triggers.
vertical_scroll_percentage_list: Option<Parameter>
List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled vertically. Only valid for AMP scroll triggers.
continuous_time_min_milliseconds: Option<Parameter>
A visibility trigger minimum continuous visible time (in milliseconds). Only valid for AMP Visibility trigger.
horizontal_scroll_percentage_list: Option<Parameter>
List of integer percentage values for scroll triggers. The trigger will fire when each percentage is reached when the view is scrolled horizontally. Only valid for AMP scroll triggers.
account_id: Option<String>
GTM Account ID.
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). Only valid for Form Submission and Link Click triggers.
interval_seconds: Option<Parameter>
Time between Timer Events to fire (in seconds). Only valid for AMP Timer trigger.
event_name: Option<Parameter>
Name of the GTM event that is fired. Only valid for Timer triggers.
visibility_selector: Option<Parameter>
A visibility trigger CSS selector (i.e. "#id"). Only valid for AMP Visibility trigger.
workspace_id: Option<String>
GTM Workspace ID.
custom_event_filter: Option<Vec<Condition>>
Used in the case of custom event, which is fired iff all Conditions are true.
parameter: Option<Vec<Parameter>>
Additional parameters.
parent_folder_id: Option<String>
Parent folder id.
container_id: Option<String>
GTM Container ID.
selector: Option<Parameter>
A click trigger CSS selector (i.e. "a", "button" etc.). Only valid for AMP Click trigger.
trigger_id: Option<String>
The Trigger ID uniquely identifies the GTM Trigger.
tag_manager_url: Option<String>
Auto generated link to the tag manager UI
fingerprint: Option<String>
The fingerprint of the GTM Trigger as computed at storage time. This value is recomputed whenever the trigger is modified.
visible_percentage_max: Option<Parameter>
A visibility trigger maximum percent visibility. Only valid for AMP Visibility trigger.
path: Option<String>
GTM Trigger's API relative path.
name: Option<String>
Trigger display name.
visible_percentage_min: Option<Parameter>
A visibility trigger minimum percent visibility. Only valid for AMP Visibility trigger.
type_: Option<String>
Defines the data layer event that causes this trigger.
notes: Option<String>
User notes on how to apply this trigger in the container.
interval: Option<Parameter>
Time between triggering recurring Timer Events (in milliseconds). Only valid for Timer triggers.
filter: Option<Vec<Condition>>
The trigger will only fire iff all Conditions are true.
How long to wait (in milliseconds) for tags to fire when 'waits_for_tags' above evaluates to true. Only valid for Form Submission and Link Click triggers.
limit: Option<Parameter>
Limit of the number of GTM events this Timer Trigger will fire. If no limit is set, we will continue to fire GTM events until the user leaves the page. Only valid for Timer triggers.
check_validation: Option<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). Only valid for Form Submission and Link Click triggers.
auto_event_filter: Option<Vec<Condition>>
Used in the case of auto event tracking.
Trait Implementations
impl ResponseResult for Trigger
[src]
impl RequestValue for Trigger
[src]
impl Default for Trigger
[src]
impl Clone for Trigger
[src]
fn clone(&self) -> Trigger
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Trigger
[src]
impl Serialize for Trigger
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Trigger
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Trigger
impl Unpin for Trigger
impl Sync for Trigger
impl UnwindSafe for Trigger
impl RefUnwindSafe for Trigger
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,