C# 클래스 GoogleAnalyticsUtils.EventsReporter

Reports events using the provided analytics reporter.
상속: IEventsReporter
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio 1 사용 예제들

공개 메소드들

메소드 설명
EventsReporter ( IAnalyticsReporter reporter ) : System
ReportEvent ( string source, string eventType, string eventName, bool userLoggedIn, string projectNumber = null, string>.Dictionary metadata = null ) : void

비공개 메소드들

메소드 설명
EscapeValue ( string value ) : string

Escapes a value so it can be included in the GA hit and being able to parse them again on the backend Only the ',', '=' and '\\' characters need to be escaped as those are the separators for the values, in the string.

GetHash ( string projectId ) : string
GetPageViewURI ( string eventType, string eventName ) : string
SerializeEventMetadata ( string>.Dictionary metadata ) : string
SerializeMetadataEntry ( string>.KeyValuePair entry ) : string

메소드 상세

EventsReporter() 공개 메소드

public EventsReporter ( IAnalyticsReporter reporter ) : System
reporter IAnalyticsReporter
리턴 System

ReportEvent() 공개 메소드

public ReportEvent ( string source, string eventType, string eventName, bool userLoggedIn, string projectNumber = null, string>.Dictionary metadata = null ) : void
source string
eventType string
eventName string
userLoggedIn bool
projectNumber string
metadata string>.Dictionary
리턴 void