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.1.5347.20411)
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:
"ok" string if everything went ok
Exceptions
Exception | Condition |
---|---|
![]() | parameters is null |
![]() | parameters doesn't contain page GUID (PARAM_PAGE_GUID key) |
![]() | parameters doesn't contain referrer (PARAM_REFERRER key) |
See Also