PluginConfiguration

Configuration for a custom tracker plugin. Enables you to add closures to be called when and after events are tracked in the tracker.

Constructors

Link copied to clipboard
constructor(identifier: String)

Functions

Link copied to clipboard

Add a closure that is called after the events are tracked. The closure is called after the events are added to event queue in Emitter, not necessarily after they are sent to the Collector.

Link copied to clipboard
open override fun copy(): Configuration
Link copied to clipboard

Add a closure that generates entities for a given tracked event.

Link copied to clipboard

Add a closure that is called to decide whether to track a given event or not.

Properties

Link copied to clipboard

Closure configuration that is called after events are tracked.

Link copied to clipboard

Closure configuration that is called when events are tracked to generate context entities to enrich the events.

Link copied to clipboard

Closure configuration that is called to decide whether to track a given event or not.

Link copied to clipboard
open override val identifier: String

Unique identifier of the plugin within the tracker.