diff options
author | Eric Bailey <git@esb.lol> | 2024-12-27 16:21:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-27 14:21:17 -0800 |
commit | c6d26a0a9c6606cccaee38adb535be257f19809d (patch) | |
tree | ec5669983ca34f5ce94ed6578dd405643cc6420a /src/state/shell/progress-guide.tsx | |
parent | 8b7a33181534b4bce1a74ba81e20db8195f1ae40 (diff) | |
download | voidsky-c6d26a0a9c6606cccaee38adb535be257f19809d.tar.zst |
Some metrics (#7294)
* Add trending metrics * Progress guide events * Fix naming, improve existing events
Diffstat (limited to 'src/state/shell/progress-guide.tsx')
-rw-r--r-- | src/state/shell/progress-guide.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/shell/progress-guide.tsx b/src/state/shell/progress-guide.tsx index af3d60ebb..19687267c 100644 --- a/src/state/shell/progress-guide.tsx +++ b/src/state/shell/progress-guide.tsx @@ -2,6 +2,7 @@ import React, {useMemo} from 'react' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' +import {logEvent} from '#/lib/statsig/statsig' import { ProgressGuideToast, ProgressGuideToastRef, @@ -137,6 +138,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) { endProgressGuide() { setLocalGuideState(undefined) mutateAsync(undefined) + logEvent('progressGuide:hide', {}) }, captureAction(action: ProgressGuideAction, count = 1) { |