Table of Contents

Class TrackingContext

Namespace
Dynamicweb.Tracking
Assembly
Dynamicweb.Core.dll

Context information related to tracking

public class TrackingContext
Inheritance
TrackingContext
Inherited Members

Constructors

TrackingContext()

public TrackingContext()

TrackingContext(bool, int, string)

public TrackingContext(bool isTrackingEnabled, int sessionId, string visitorId)

Parameters

isTrackingEnabled bool
sessionId int
visitorId string

Properties

Events

Gets the events.

public ICollection<EventData> Events { get; }

Property Value

ICollection<EventData>

The events.

IsTrackingEnabled

Gets a value indicating if tracking is enabled.

public bool IsTrackingEnabled { get; }

Property Value

bool

true if tracking is enabled; otherwise, false.

Session

Gets the session.

public SessionData? Session { get; }

Property Value

SessionData

The session.

SessionId

Gets the session id.

public int SessionId { get; }

Property Value

int

View

Gets the view.

public ViewData? View { get; }

Property Value

ViewData

The view.

VisitorId

Gets the visitor id.

public string? VisitorId { get; }

Property Value

string
To top