Skip to content
AnalyticsService

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 stringUsage: burying name range: no restrictions, reasonable is sufficient
eventParams? ObjectUsage: buried point parameter default: null range: no restriction, reasonable is sufficient

googleInit ​

• Static googleInit(mId): void other

Initialize Google Analytics client

Parameters ​

mId stringGoogle Analytics measurement ID range: The length of the string depends on the account ID registered with Google