Class Tracker
- Namespace
- Dynamicweb.Tracking
- Assembly
- Dynamicweb.Core.dll
Used for tracking user behavior on sites
- Inheritance
-
Tracker
- Inherited Members
Constructors
Tracker(TrackingConfiguration, TrackingContext)
Initializes a new instance of the Tracker class.
Parameters
config
TrackingConfiguration The configuration.
context
TrackingContext The context.
Properties
Configuration
Gets the tracking configuration.
Property Value
- Tracking
Configuration The tracking configuration.
Context
Gets the tracking context.
Property Value
- Tracking
Context The tracking context.
Current
Gets the current tracker.
Property Value
- Tracker
The current tracker.
IsTrackingEnabled
Gets a value indicating whether tracking is enabled for the current context.
Property Value
- bool
true
if tracking is enabled; otherwise,false
.
TrackerMapper
Property Value
Methods
Execute()
Executes tracking for the current request.
LogError(string, Exception)
Logs the error.
Parameters
TrackEvent(EventData)
Tracks the event.
Parameters
eventData
EventData The event data.
TrackPingBack()
Tracks the Ping-back received from the TrackingScript in the PageView.
TrackSession()
Tracks the session.
TrackView(ViewData)
Tracks the view.
Parameters
viewData
ViewData The view data.