Table of Contents

Class SessionData

Namespace
Dynamicweb.Tracking
Assembly
Dynamicweb.Core.dll

Class for collecting session information.

public class SessionData
Inheritance
SessionData
Inherited Members

Constructors

SessionData()

Initializes a new instance of the SessionData class.

public SessionData()

Properties

AreaId

Gets or sets the area identifier.

public int AreaId { get; set; }

Property Value

int

The area identifier.

BotName

Gets or sets the name of the bot.

public string? BotName { get; set; }

Property Value

string

The name of the bot.

BotType

Gets or sets the type of the bot.

public BotType BotType { get; set; }

Property Value

BotType

The type of the bot.

DeviceIpAddress

Gets or sets the visitor ip address.

public string? DeviceIpAddress { get; set; }

Property Value

string

The visitor ip address.

DevicePlatformType

Gets or sets the device platform type.

public PlatformType DevicePlatformType { get; set; }

Property Value

PlatformType

The device platform type.

DeviceType

Gets or sets the device type.

public DeviceType DeviceType { get; set; }

Property Value

DeviceType

The device type.

DeviceUserAgent

Gets or sets the device user agent.

public string? DeviceUserAgent { get; set; }

Property Value

string

The device user agent.

Excluded

Gets or sets a value indicating whether this SessionData is excluded from reports.

public bool Excluded { get; set; }

Property Value

bool

true if excluded; otherwise, false.

ExcludedReason

Gets or sets the reason why this SessionData is excluded.

public string? ExcludedReason { get; set; }

Property Value

string

The reason.

Headers

Gets or sets the headers.

public NameValueCollection? Headers { get; set; }

Property Value

NameValueCollection

The headers.

Id

Gets the session identifier.

public int Id { get; }

Property Value

int

The identifier.

IsNew

Gets a value indicating whether this instance is new.

public bool IsNew { get; }

Property Value

bool

true if this instance is new; otherwise, false.

LocationCountryCode

Gets or sets the location country code (ISO 3166-1 Alpha-2 code).

public string? LocationCountryCode { get; set; }

Property Value

string

The location country code.

PageId

Gets or sets the page identifier.

public int PageId { get; set; }

Property Value

int

The page identifier.

PingBackReceived

Gets or sets a value indicating whether bot detection ping-back is received.

public bool PingBackReceived { get; set; }

Property Value

bool

true if ping-back is received; otherwise, false.

ReferrerDomain

Gets or sets the referrer domain.

public string? ReferrerDomain { get; set; }

Property Value

string

The referrer domain.

ReferrerName

Gets or sets the referrer name.

public string? ReferrerName { get; set; }

Property Value

string

The referrer name.

ReferrerType

Gets or sets the type of the referrer.

public ReferrerType ReferrerType { get; set; }

Property Value

ReferrerType

The type of the referrer.

ReferrerUrl

Gets or sets the referrer URL.

public Uri? ReferrerUrl { get; set; }

Property Value

Uri

The referrer URL.

SourceCampaign

Gets or sets the source campaign.

public string? SourceCampaign { get; set; }

Property Value

string

The source campaign.

SourceContent

Gets or sets the content of the source.

public string? SourceContent { get; set; }

Property Value

string

The content of the source.

SourceMedium

Gets or sets the source medium.

public string? SourceMedium { get; set; }

Property Value

string

The source medium.

SourceName

Gets or sets the name of the source.

public string? SourceName { get; set; }

Property Value

string

The name of the source.

SourceTerm

Gets or sets the source term.

public string? SourceTerm { get; set; }

Property Value

string

The source term.

Timestamp

Gets or sets the session timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime

The timestamp.

Url

Gets or sets the URL.

public Uri? Url { get; set; }

Property Value

Uri

The URL.

VisitorId

Gets or sets the visitor identifier.

public string? VisitorId { get; set; }

Property Value

string

The visitor identifier.

VisitorIsReturning

Gets or sets a value indicating whether visitor is returning.

public bool VisitorIsReturning { get; set; }

Property Value

bool

true if visitor is returning; otherwise, false.

To top