Service / AnalyticsService
AnalyticsService Class
Analysis Services
Table of contents
Methods
googleEventTracking(eventName : string , eventParams? : Object ): void other |
---|
Event tracker |
googleInit(mId : string ): void other |
Initialize Google Analytics client |
Methods
googleEventTracking
• Static
googleEventTracking(eventName
, eventParams?
): void
other
Event tracker
Parameters
eventName string | Usage: burying name range: no restrictions, reasonable is sufficient |
---|---|
eventParams? Object | Usage: buried point parameter default: null range: no restriction, reasonable is sufficient |
googleInit
• Static
googleInit(mId
): void
other
Initialize Google Analytics client
Parameters
mId string | Google Analytics measurement ID range: The length of the string depends on the account ID registered with Google |
---|