Table of Contents

Class Tracker

Namespace
Dynamicweb.Tracking
Assembly
Dynamicweb.Tracking.dll
Used for tracking user behavior on sites
public class Tracker
Inheritance
Tracker
Inherited Members

Constructors

Tracker(TrackingConfiguration, TrackingContext)

Initializes a new instance of the Tracker class.
public Tracker(TrackingConfiguration config, TrackingContext context)

Parameters

config TrackingConfiguration
The configuration.
context TrackingContext
The context.

Properties

Configuration

Gets the tracking configuration.
public TrackingConfiguration Configuration { get; }

Property Value

TrackingConfiguration
The tracking configuration.

Context

Gets the tracking context.
public TrackingContext Context { get; }

Property Value

TrackingContext
The tracking context.

Current

Gets the current tracker.
public static Tracker Current { get; }

Property Value

Tracker
The current tracker.

IsTrackingEnabled

Gets a value indicating whether tracking is enabled for the current context.
public bool IsTrackingEnabled { get; }

Property Value

bool
true if tracking is enabled; otherwise, false.

TrackerMapper

public static ITrackerMapper TrackerMapper { get; set; }

Property Value

ITrackerMapper

Methods

Execute()

Executes tracking for the current request.
public void Execute()

ProcessPingBack()

Process PingBack receive.
[Obsolete("Use 'TrackPingBack' instead")]
public void ProcessPingBack()

TrackEvent(EventData)

Tracks the event.
public void TrackEvent(EventData eventData)

Parameters

eventData EventData
The event data.

TrackPingBack()

Tracks the Ping-back received from the TrackingScript in the PageView.
public void TrackPingBack()

TrackSession()

Tracks the session.
public void TrackSession()

TrackView(ViewData)

Tracks the view.
public void TrackView(ViewData viewData)

Parameters

viewData ViewData
The view data.
To top