FilterEventTracker class

Wrapper for an EventTracker with associated indexName and attribute

Constructors

FilterEventTracker(EventTracker tracker, EventDataDelegate delegate, String attribute, {bool isEnabled = true})

Properties

attribute String
Filter attribute to associate events with.
getter/setter pair
delegate EventDataDelegate
Delegate providing dynamic external events data
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
Flag that blocks the sending of event packets when set to false
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tracker EventTracker
Underlying EventTracker instance.
getter/setter pair

Methods

clickedFilters({required String eventName, required List<String> values, DateTime? timestamp}) → void
Send a click event to capture when users select filters.
convertedFilters({required String eventName, required List<String> values, DateTime? timestamp}) → void
Send a conversion event to capture the filters a user selected when converting.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
viewedFilters({required String eventName, required List<String> values, DateTime? timestamp}) → void
Send a view event to capture the active filters for items a user viewed.

Operators

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