C# Класс CSharpAnalytics.Protocols.Urchin.UrchinUriBuilder

Builds Urchin style URIs for tracking by Google Analytics Urchin tracking endpoint.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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