DispatchContext

data class DispatchContext(val source: DispatchContext.Source, val initialData: DataObject)

Provides some meta-information about the Dispatch being tracked.

The source describes where the Dispatch has originated from.

The initialData is the DataObject created by the Dispatch when it was created - so it will contain all user-supplied key-value data, as well as various default data points that are required by the Tealium platform, e.g. "tealium_account", "tealium_profile" ...

Parameters

source

Indicates where the Dispatch has originated from.

initialData

The initial DataObject that was created when the Dispatch was tracked.

See also

Constructors

Link copied to clipboard
constructor(source: DispatchContext.Source, initialData: DataObject)

Types

Link copied to clipboard
class Source

Identifies the source of a Dispatch

Properties

Link copied to clipboard
Link copied to clipboard