[Statsig] Track login/logout (#3286)

* [Statsig] Track login/logout

* Fix missing attribution
This commit is contained in:
dan 2024-03-20 03:24:05 +00:00 committed by GitHub
parent 2e2fae378a
commit 3d8d1dd173
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 98 additions and 48 deletions

View file

@ -2,6 +2,13 @@ export type LogEvents = {
init: {
initMs: number
}
'account:loggedIn': {
logContext: 'LoginForm' | 'SwitchAccount' | 'ChooseAccountForm' | 'Settings'
withPassword: boolean
}
'account:loggedOut': {
logContext: 'SwitchAccount' | 'Settings' | 'Deactivated'
}
'notifications:openApp': {}
'state:background': {}
'state:foreground': {}