diff options
author | dan <dan.abramov@gmail.com> | 2024-03-20 03:24:05 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 20:24:05 -0700 |
commit | 3d8d1dd1737c11d924bec7d51ae4deb6cb6336b0 (patch) | |
tree | adb96f24141561ba4adfd818e179b0c5c0d2bff1 /src/lib/statsig/events.ts | |
parent | 2e2fae378af09682370e9b4ebf59d32cae1b848c (diff) | |
download | voidsky-3d8d1dd1737c11d924bec7d51ae4deb6cb6336b0.tar.zst |
[Statsig] Track login/logout (#3286)
* [Statsig] Track login/logout * Fix missing attribution
Diffstat (limited to 'src/lib/statsig/events.ts')
-rw-r--r-- | src/lib/statsig/events.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 420c58ed2..f57c8d416 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -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': {} |