wip
This commit is contained in:
@@ -22,8 +22,8 @@ export function useAnalytics() {
|
|||||||
return React.useMemo(() => {
|
return React.useMemo(() => {
|
||||||
if (store.session.hasSession) {
|
if (store.session.hasSession) {
|
||||||
return {
|
return {
|
||||||
screen: methods.screen as ScreenEvent,
|
screen: methods.screen as ScreenEvent, // ScreenEvents defines all the possible screen names
|
||||||
track: methods.track as TrackEvent,
|
track: methods.track as TrackEvent, // TrackEvents defines all the possible track events and their properties
|
||||||
identify: methods.identify,
|
identify: methods.identify,
|
||||||
flush: methods.flush,
|
flush: methods.flush,
|
||||||
group: methods.group,
|
group: methods.group,
|
||||||
|
|||||||
Reference in New Issue
Block a user