Trace

interface Trace

Trace is responsible for handling Tealium trace registration.

Joining a trace will add the trace id to each event for filtering server side. Users can leave the trace when finished.

Functions

Link copied to clipboard

Attempts to force end of visit for the current trace.

Link copied to clipboard
abstract fun join(id: String): Single<TealiumResult<Unit>>

Joins a Trace for the given id. The trace id will be added to all future events that are tracked until either leave is called, or the current session expires.

Link copied to clipboard
abstract fun leave(): Single<TealiumResult<Unit>>

Leaves the current trace if one is has been joined.