- useAnalytics(): {
getAnalyticsProvider: (() => IAnalyticsProvider);
setAnalyticsProvider: ((provider) => void);
trackEvent: ((event, trackObj) => void);
} Returns {
getAnalyticsProvider: (() => IAnalyticsProvider);
setAnalyticsProvider: ((provider) => void);
trackEvent: ((event, trackObj) => void);
}
setAnalyticsProvider: ((provider) => void)
- (provider): void
Returns void
trackEvent: ((event, trackObj) => void)
- (event, trackObj): void
Parameters
event: string
trackObj: unknown
Returns void
Description
Get Analytics Provider Returns the Analytics Provider object
Example