From c6d26a0a9c6606cccaee38adb535be257f19809d Mon Sep 17 00:00:00 2001
From: Eric Bailey <git@esb.lol>
Date: Fri, 27 Dec 2024 16:21:17 -0600
Subject: Some metrics (#7294)

* Add trending metrics

* Progress guide events

* Fix naming, improve existing events
---
 src/state/shell/progress-guide.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/state/shell/progress-guide.tsx')

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) {
-- 
cgit 1.4.1

