C# 클래스 CSharpAnalytics.Protocols.Urchin.UrchinUriBuilder

Builds Urchin style URIs for tracking by Google Analytics Urchin tracking endpoint.
파일 보기 프로젝트 열기: TechSmith/CSharpAnalytics 1 사용 예제들

공개 메소드들

메소드 설명
BuildUri ( UrchinActivityEntry entry ) : Uri

Build an Urchin style URI from an activity and custom variables.

UrchinUriBuilder ( UrchinConfiguration configuration, SessionManager sessionManager, IEnvironment environment ) : System

Create new UrchinUriBuilder to prepare URIs for Google's Urchin tracker endpoint.

비공개 메소드들

메소드 설명
BuildParameterList ( UrchinActivityEntry entry ) : string>>.List

Build a list of the parameters required based on configuration, environment, activity, session, custom variables and state.

CarryForwardParameters ( IUrchinActivity activity, string>.ICollection parameters ) : void

Carry forward the utmp page parameter value to future event activities to know which page they occurred on.

CreateCookieSubstituteParameter ( SessionManager sessionManager, long hostNameHash ) : string

Create a cookie-substitute parameter used to track session activity.

CreateQueryString ( string>.IEnumerable parameters ) : string

Create a query for all the parameters in the key/value pairs applying necessary encoding.

EncodeCustomVariables ( ScopedCustomVariableSlot customVariables ) : string

Encode custom variables into a single parameter string.

GetParameters ( ) : string>>.IEnumerable

Get parameters for this tracker's internal state.

GetParameters ( IEnvironment environment ) : string>>.IEnumerable

Get parameters for a given environment.

GetParameters ( ScopedCustomVariableSlot customVariables ) : string>>.IEnumerable

Get parameters for a given set of custom variables.

GetParameters ( SessionManager sessionManager, long hostNameHash ) : string>>.IEnumerable

Get parameters for a given session manager and domain hash.

GetParameters ( UrchinConfiguration configuration ) : string>>.IEnumerable

Get parameters for a given configuration.

GetScopeIdentity ( CustomVariableScope scope ) : string

Get the numeric identity of visitor and session level scopes.

ReduceGuidToUint ( System.Guid guid ) : uint

Reduce a Guid down to what can be represented in a uint.

메소드 상세

BuildUri() 공개 메소드

Build an Urchin style URI from an activity and custom variables.
public BuildUri ( UrchinActivityEntry entry ) : Uri
entry UrchinActivityEntry UrchinActivityEntry to create a URI for.
리턴 System.Uri

UrchinUriBuilder() 공개 메소드

Create new UrchinUriBuilder to prepare URIs for Google's Urchin tracker endpoint.
public UrchinUriBuilder ( UrchinConfiguration configuration, SessionManager sessionManager, IEnvironment environment ) : System
configuration UrchinConfiguration Configuration of analytics.
sessionManager CSharpAnalytics.Sessions.SessionManager Session manager.
environment IEnvironment Environment details.
리턴 System