C# 클래스 GoogleUniversalAnalytics, swip3

파일 보기 프로젝트 열기: unit9/swip3 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
analyticsDisabled bool
appName string
appVersion string
clientID string
customHeaders Hashtable
trackingID string
useHTTPS bool

공개 메소드들

메소드 설명
GoogleUniversalAnalytics ( ) : UnityEngine
addAnonymizeIP ( ) : void
addApplicationVersion ( string text = null ) : void
addCampaignContent ( string text, bool allowNonEscaped = false ) : void
addCampaignID ( string text ) : void
addCampaignKeyword ( string text, bool allowNonEscaped = false ) : void
addCampaignMedium ( string text ) : void
addCampaignName ( string text ) : void
addCampaignSource ( string text ) : void
addContentDescription ( string text ) : void
addCurrencyCode ( string text ) : void
addCustomDimension ( int index, string text ) : void
addCustomMetric ( int index, long value ) : void
addDNSTime ( int value ) : void
addDocumentEncoding ( string text ) : void
addDocumentHostName ( string text ) : void
addDocumentLocationURL ( string url, bool allowNonEscaped = false ) : void
addDocumentPath ( string text, bool allowNonEscaped = false ) : void
addDocumentReferrer ( string url, bool allowNonEscaped = false ) : void
addDocumentTitle ( string text ) : void
addEventAction ( string text ) : void
addEventCategory ( string text ) : void
addEventLabel ( string text ) : void
addEventValue ( int value ) : void
addExceptionDescription ( string text ) : void
addExceptionIsFatal ( bool value ) : void
addExperimentID ( string text ) : void
addExperimentVariant ( string text ) : void
addFlashVersion ( int major, int minor, int revision ) : void
addGoogleAdWordsID ( string text ) : void
addGoogleDisplayAdsID ( string text ) : void
addItemCategory ( string text ) : void
addItemCode ( string text ) : void
addItemName ( string text ) : void
addItemPrice ( double currency ) : void
addItemQuantity ( int value ) : void
addJavaEnabled ( bool enabled ) : void
addLinkID ( string text ) : void
addNonInteractionHit ( ) : void
addPageDownloadTime ( int value ) : void
addPageLoadTime ( int value ) : void
addQueueTime ( int ms ) : void
addRedirectResponseTime ( int value ) : void
addScreenColors ( int depthBits ) : void
addScreenResolution ( int width, int height ) : void
addServerResponseTime ( int value ) : void
addSessionControl ( bool type ) : void
addSocialAction ( string text ) : void
addSocialActionTarget ( string text, bool allowNonEscaped = false ) : void
addSocialNetwork ( string text ) : void
addTCPConnectTime ( int value ) : void
addTransactionAffiliation ( string text ) : void
addTransactionID ( string text ) : void
addTransactionRevenue ( double currency ) : void
addTransactionShipping ( double currency ) : void
addTransactionTax ( double currency ) : void
addUserLanguage ( string text ) : void
addUserTimingCategory ( string text ) : void
addUserTimingLabel ( string text ) : void
addUserTimingTime ( int value ) : void
addUserTimingVariableName ( string text ) : void
addViewportSize ( int width, int height ) : void
beginHit ( HitType hitType ) : bool
initialize ( string trackingID, string anonymousClientID, string appName = "", string appVersion = "", bool useHTTPS = false ) : void
sendAppScreenHit ( string screenName ) : void
sendBrowserTimingHit ( int dnsTime, int pageDownloadTime, int redirectTime, int tcpConnectTime, int serverResponseTime ) : void
sendEventHit ( string eventCategory, string eventAction, string eventLabel = null, int eventValue = -1 ) : void
sendExceptionHit ( string description, bool isFatal ) : void
sendHit ( ) : bool
sendItemHit ( string transactionID, string itemName, double price, int quantity, string itemCode, string itemCategory, string currencyCode ) : void
sendPageViewHit ( string documentHostName, string documentPath, string documentTitle ) : void
sendSocialHit ( string network, string action, string target ) : void
sendTransactionHit ( string transactionID, string affiliation, double revenue, double shipping, double tax, string currencyCode ) : void
sendUserTimingHit ( string category, string variable, int time, string label ) : void
setStringEscaping ( bool useStringEscaping ) : void

비공개 메소드들

메소드 설명
returnStringAsIs ( string s ) : string
returnStringAsIs_withEscapingCheck ( string s ) : string

메소드 상세

GoogleUniversalAnalytics() 공개 메소드

public GoogleUniversalAnalytics ( ) : UnityEngine
리턴 UnityEngine

addAnonymizeIP() 공개 메소드

public addAnonymizeIP ( ) : void
리턴 void

addApplicationVersion() 공개 메소드

public addApplicationVersion ( string text = null ) : void
text string
리턴 void

addCampaignContent() 공개 메소드

public addCampaignContent ( string text, bool allowNonEscaped = false ) : void
text string
allowNonEscaped bool
리턴 void

addCampaignID() 공개 메소드

public addCampaignID ( string text ) : void
text string
리턴 void

addCampaignKeyword() 공개 메소드

public addCampaignKeyword ( string text, bool allowNonEscaped = false ) : void
text string
allowNonEscaped bool
리턴 void

addCampaignMedium() 공개 메소드

public addCampaignMedium ( string text ) : void
text string
리턴 void

addCampaignName() 공개 메소드

public addCampaignName ( string text ) : void
text string
리턴 void

addCampaignSource() 공개 메소드

public addCampaignSource ( string text ) : void
text string
리턴 void

addContentDescription() 공개 메소드

public addContentDescription ( string text ) : void
text string
리턴 void

addCurrencyCode() 공개 메소드

public addCurrencyCode ( string text ) : void
text string
리턴 void

addCustomDimension() 공개 메소드

public addCustomDimension ( int index, string text ) : void
index int
text string
리턴 void

addCustomMetric() 공개 메소드

public addCustomMetric ( int index, long value ) : void
index int
value long
리턴 void

addDNSTime() 공개 메소드

public addDNSTime ( int value ) : void
value int
리턴 void

addDocumentEncoding() 공개 메소드

public addDocumentEncoding ( string text ) : void
text string
리턴 void

addDocumentHostName() 공개 메소드

public addDocumentHostName ( string text ) : void
text string
리턴 void

addDocumentLocationURL() 공개 메소드

public addDocumentLocationURL ( string url, bool allowNonEscaped = false ) : void
url string
allowNonEscaped bool
리턴 void

addDocumentPath() 공개 메소드

public addDocumentPath ( string text, bool allowNonEscaped = false ) : void
text string
allowNonEscaped bool
리턴 void

addDocumentReferrer() 공개 메소드

public addDocumentReferrer ( string url, bool allowNonEscaped = false ) : void
url string
allowNonEscaped bool
리턴 void

addDocumentTitle() 공개 메소드

public addDocumentTitle ( string text ) : void
text string
리턴 void

addEventAction() 공개 메소드

public addEventAction ( string text ) : void
text string
리턴 void

addEventCategory() 공개 메소드

public addEventCategory ( string text ) : void
text string
리턴 void

addEventLabel() 공개 메소드

public addEventLabel ( string text ) : void
text string
리턴 void

addEventValue() 공개 메소드

public addEventValue ( int value ) : void
value int
리턴 void

addExceptionDescription() 공개 메소드

public addExceptionDescription ( string text ) : void
text string
리턴 void

addExceptionIsFatal() 공개 메소드

public addExceptionIsFatal ( bool value ) : void
value bool
리턴 void

addExperimentID() 공개 메소드

public addExperimentID ( string text ) : void
text string
리턴 void

addExperimentVariant() 공개 메소드

public addExperimentVariant ( string text ) : void
text string
리턴 void

addFlashVersion() 공개 메소드

public addFlashVersion ( int major, int minor, int revision ) : void
major int
minor int
revision int
리턴 void

addGoogleAdWordsID() 공개 메소드

public addGoogleAdWordsID ( string text ) : void
text string
리턴 void

addGoogleDisplayAdsID() 공개 메소드

public addGoogleDisplayAdsID ( string text ) : void
text string
리턴 void

addItemCategory() 공개 메소드

public addItemCategory ( string text ) : void
text string
리턴 void

addItemCode() 공개 메소드

public addItemCode ( string text ) : void
text string
리턴 void

addItemName() 공개 메소드

public addItemName ( string text ) : void
text string
리턴 void

addItemPrice() 공개 메소드

public addItemPrice ( double currency ) : void
currency double
리턴 void

addItemQuantity() 공개 메소드

public addItemQuantity ( int value ) : void
value int
리턴 void

addJavaEnabled() 공개 메소드

public addJavaEnabled ( bool enabled ) : void
enabled bool
리턴 void

addLinkID() 공개 메소드

public addLinkID ( string text ) : void
text string
리턴 void

addNonInteractionHit() 공개 메소드

public addNonInteractionHit ( ) : void
리턴 void

addPageDownloadTime() 공개 메소드

public addPageDownloadTime ( int value ) : void
value int
리턴 void

addPageLoadTime() 공개 메소드

public addPageLoadTime ( int value ) : void
value int
리턴 void

addQueueTime() 공개 메소드

public addQueueTime ( int ms ) : void
ms int
리턴 void

addRedirectResponseTime() 공개 메소드

public addRedirectResponseTime ( int value ) : void
value int
리턴 void

addScreenColors() 공개 메소드

public addScreenColors ( int depthBits ) : void
depthBits int
리턴 void

addScreenResolution() 공개 메소드

public addScreenResolution ( int width, int height ) : void
width int
height int
리턴 void

addServerResponseTime() 공개 메소드

public addServerResponseTime ( int value ) : void
value int
리턴 void

addSessionControl() 공개 메소드

public addSessionControl ( bool type ) : void
type bool
리턴 void

addSocialAction() 공개 메소드

public addSocialAction ( string text ) : void
text string
리턴 void

addSocialActionTarget() 공개 메소드

public addSocialActionTarget ( string text, bool allowNonEscaped = false ) : void
text string
allowNonEscaped bool
리턴 void

addSocialNetwork() 공개 메소드

public addSocialNetwork ( string text ) : void
text string
리턴 void

addTCPConnectTime() 공개 메소드

public addTCPConnectTime ( int value ) : void
value int
리턴 void

addTransactionAffiliation() 공개 메소드

public addTransactionAffiliation ( string text ) : void
text string
리턴 void

addTransactionID() 공개 메소드

public addTransactionID ( string text ) : void
text string
리턴 void

addTransactionRevenue() 공개 메소드

public addTransactionRevenue ( double currency ) : void
currency double
리턴 void

addTransactionShipping() 공개 메소드

public addTransactionShipping ( double currency ) : void
currency double
리턴 void

addTransactionTax() 공개 메소드

public addTransactionTax ( double currency ) : void
currency double
리턴 void

addUserLanguage() 공개 메소드

public addUserLanguage ( string text ) : void
text string
리턴 void

addUserTimingCategory() 공개 메소드

public addUserTimingCategory ( string text ) : void
text string
리턴 void

addUserTimingLabel() 공개 메소드

public addUserTimingLabel ( string text ) : void
text string
리턴 void

addUserTimingTime() 공개 메소드

public addUserTimingTime ( int value ) : void
value int
리턴 void

addUserTimingVariableName() 공개 메소드

public addUserTimingVariableName ( string text ) : void
text string
리턴 void

addViewportSize() 공개 메소드

public addViewportSize ( int width, int height ) : void
width int
height int
리턴 void

beginHit() 공개 메소드

public beginHit ( HitType hitType ) : bool
hitType HitType
리턴 bool

initialize() 공개 메소드

public initialize ( string trackingID, string anonymousClientID, string appName = "", string appVersion = "", bool useHTTPS = false ) : void
trackingID string
anonymousClientID string
appName string
appVersion string
useHTTPS bool
리턴 void

sendAppScreenHit() 공개 메소드

public sendAppScreenHit ( string screenName ) : void
screenName string
리턴 void

sendBrowserTimingHit() 공개 메소드

public sendBrowserTimingHit ( int dnsTime, int pageDownloadTime, int redirectTime, int tcpConnectTime, int serverResponseTime ) : void
dnsTime int
pageDownloadTime int
redirectTime int
tcpConnectTime int
serverResponseTime int
리턴 void

sendEventHit() 공개 메소드

public sendEventHit ( string eventCategory, string eventAction, string eventLabel = null, int eventValue = -1 ) : void
eventCategory string
eventAction string
eventLabel string
eventValue int
리턴 void

sendExceptionHit() 공개 메소드

public sendExceptionHit ( string description, bool isFatal ) : void
description string
isFatal bool
리턴 void

sendHit() 공개 메소드

public sendHit ( ) : bool
리턴 bool

sendItemHit() 공개 메소드

public sendItemHit ( string transactionID, string itemName, double price, int quantity, string itemCode, string itemCategory, string currencyCode ) : void
transactionID string
itemName string
price double
quantity int
itemCode string
itemCategory string
currencyCode string
리턴 void

sendPageViewHit() 공개 메소드

public sendPageViewHit ( string documentHostName, string documentPath, string documentTitle ) : void
documentHostName string
documentPath string
documentTitle string
리턴 void

sendSocialHit() 공개 메소드

public sendSocialHit ( string network, string action, string target ) : void
network string
action string
target string
리턴 void

sendTransactionHit() 공개 메소드

public sendTransactionHit ( string transactionID, string affiliation, double revenue, double shipping, double tax, string currencyCode ) : void
transactionID string
affiliation string
revenue double
shipping double
tax double
currencyCode string
리턴 void

sendUserTimingHit() 공개 메소드

public sendUserTimingHit ( string category, string variable, int time, string label ) : void
category string
variable string
time int
label string
리턴 void

setStringEscaping() 공개 메소드

public setStringEscaping ( bool useStringEscaping ) : void
useStringEscaping bool
리턴 void

프로퍼티 상세

analyticsDisabled 공개적으로 프로퍼티

public bool analyticsDisabled
리턴 bool

appName 공개적으로 프로퍼티

public string appName
리턴 string

appVersion 공개적으로 프로퍼티

public string appVersion
리턴 string

clientID 공개적으로 프로퍼티

public string clientID
리턴 string

customHeaders 공개적으로 프로퍼티

public Hashtable customHeaders
리턴 Hashtable

trackingID 공개적으로 프로퍼티

public string trackingID
리턴 string

useHTTPS 공개적으로 프로퍼티

public bool useHTTPS
리턴 bool