Click or drag to resize
AnalyticsData Constructor (Int32, Uri, String, Int32, Decimal, String)
Initializes a new instance of AnalyticsData.

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax
C#
public AnalyticsData(
	int siteId,
	Uri uri,
	string hostAddress = null,
	int hits = 1,
	[OptionalAttribute] decimal value,
	string culture = null
)

Parameters

siteId
Type: SystemInt32
Site identifier under which the analytics data will be logged.
uri
Type: SystemUri
URL for which the analytics will be logged. Absolute URL is expected, query string is automatically removed. Also used to check excluded URLs.
hostAddress (Optional)
Type: SystemString
Client IP address which is also used to check excluded IP addresses.
hits (Optional)
Type: SystemInt32
Number of hits, has to be positive number.
value (Optional)
Type: SystemDecimal
Optional hit value.
culture (Optional)
Type: SystemString
Optional culture which will be logged.
See Also