diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-02-14 19:52:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-14 19:52:53 +0000 |
commit | d793abf8cd2cf7edf2ffd4a4cd570db33b795bbf (patch) | |
tree | c6f106cedcdd3e04ecde4b6a9d3adcc5b6da7826 /src/view/com/auth/server-input/index.tsx | |
parent | 11616846caa69ee1b2eacc87e1e307b47df223a5 (diff) | |
download | voidsky-d793abf8cd2cf7edf2ffd4a4cd570db33b795bbf.tar.zst |
[Instrumentation] Signin (#7742)
* first pass at instrumenting login * round time taken
Diffstat (limited to 'src/view/com/auth/server-input/index.tsx')
-rw-r--r-- | src/view/com/auth/server-input/index.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/com/auth/server-input/index.tsx b/src/view/com/auth/server-input/index.tsx index 7c0bda45b..9fd426a9b 100644 --- a/src/view/com/auth/server-input/index.tsx +++ b/src/view/com/auth/server-input/index.tsx @@ -5,6 +5,7 @@ import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' import {BSKY_SERVICE} from '#/lib/constants' +import {logEvent} from '#/lib/statsig/statsig' import * as persisted from '#/state/persisted' import {useSession} from '#/state/session' import {atoms as a, useBreakpoints, useTheme} from '#/alf' @@ -39,7 +40,10 @@ export function ServerInputDialog({ setPreviousCustomAddress(result) } } - }, [onSelect]) + logEvent('signin:hostingProviderPressed', { + hostingProviderDidChange: fixedOption !== BSKY_SERVICE, + }) + }, [onSelect, fixedOption]) return ( <Dialog.Outer |