Class TrackingService
- Namespace
- Dynamicweb.Tracking
- Assembly
- Dynamicweb.Core.dll
Provides operations for tracking user behavior during visits
public class TrackingService
- Inheritance
-
TrackingService
- Inherited Members
Methods
GetEvent(int)
Gets the event.
public EventData? GetEvent(int id)
Parameters
id
intThe identifier.
Returns
GetEventNames()
Gets event names.
public IEnumerable<string> GetEventNames()
Returns
GetEventTypes()
Gets event types.
public IEnumerable<string> GetEventTypes()
Returns
GetEvents()
Gets all events.
public IEnumerable<EventData> GetEvents()
Returns
GetSession(int)
Gets the session.
public SessionData? GetSession(int id)
Parameters
id
intThe identifier.
Returns
- SessionData
A session matching the provided identifier, otherwise null.
GetSessions()
Gets all sessions.
public IEnumerable<SessionData> GetSessions()
Returns
GetView(int)
Gets the view.
public ViewData? GetView(int id)
Parameters
id
intThe identifier.
Returns
- ViewData
A view matching the provided identifier, otherwise null.
GetViews()
Gets all views.
public IEnumerable<ViewData> GetViews()
Returns
SaveEvent(EventData)
Saves the event.
public void SaveEvent(EventData eventData)
Parameters
eventData
EventDataThe event data.
SaveSession(SessionData)
Saves the session.
public void SaveSession(SessionData sessionData)
Parameters
sessionData
SessionDataThe session.
SaveView(ViewData)
Saves the view.
public void SaveView(ViewData viewData)
Parameters
viewData
ViewDataThe view.