AnalyticsData Constructor (Int32, Uri, String, Int32, Decimal, String) |
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 13.0.131
Syntax 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