Method for logging most of web analytics (page view, browser type, countries, ..). See code comments for more details. Web analytics that doesn't make sense
to log via JavaScript (RSS crawlers, 404s, ..) are omitted.
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- parameters
- Type: System.Collections.Generic Dictionary String, String
Dictionary of all parameters that go to the web service. This is different than in other web service methods, because you can modify items that are being sent to the web service with InsertAnalyticsJS event and than process those parameters with ProcessAnalyticsService event.
Return Value
Type: String"ok" string if everything went ok
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | parameters is null |
System ArgumentException | parameters doesn't contain page GUID (PARAM_PAGE_GUID key) |
System InvalidOperationException | parameters doesn't contain referrer (PARAM_REFERRER key) |
See Also