Analytics Class |
Namespace: Rhino.Runtime
The Analytics type exposes the following members.
Name | Description | |
---|---|---|
Analytics(String, String) | Construct Analytics class | |
Analytics(String, String, String, String, String) |
Construct Analytics class
|
Name | Description | |
---|---|---|
AppInstallerId |
App Installer Id. In Rhino, we use this to differentiate between different builds such as "WIP" and "Commercial".
Maps to Google Analytics parameter 'aiid'
| |
AppName |
Name of Application. For example, "Ocelot". Do not include version numbers.
Maps to Google Analytics parameter 'an'
| |
AppPlatform |
Platform application is running on. For example "Mac", "Windows". Again, don't include version numbers.
Maps to Google Analytics parameter 'ai'
| |
AppVersion |
Application version string.
Maps to Google Analytics parameter 'av'
| |
GoogleAnalyticsTrackingID |
Google Analytics Tracking ID
| |
UsageStatisticsEnabled |
Determine if user allows automatic data collection from Rhino
| |
UserId |
Returns a GUID that allows events to be aggregated by user. There is no way to determine who the
end user is based on this GUID, unless the user tells you their ID. On Windows, this uses the
registry to store the ID. On Mac, the Hardware UUID is used as the ID.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Send(NameValueCollection) |
Advanced method for sending Google Analytics data.
It is the caller's responsibility to make sure that all parameters passed will result in a valid Google Analytics hit. Failure to do so will result in Google Analytics ignoring your hit, and the caller will get no data.
The Analytics class will populate data from the Application, the GoogleAnalyticsTrackingID, the User ID, and set the hit type "t" to "event". It also sets other information about the system.
| |
Send(String) |
Sends a Google Analytics event using the Measurement Protocol. See https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#event for details.
| |
Send(String, String) |
Sends a Google Analytics event using the Measurement Protocol. See https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#event for details.
| |
Send(String, String, String) |
Sends a Google Analytics event using the Measurement Protocol. See https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#event for details.
| |
Send(String, String, String, UInt32) |
Sends a Google Analytics event using the Measurement Protocol. See https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide#event for details.
This method is asyncrhonous and the return code is completely ignored. Validate the data you send
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |