about summary refs log tree commit diff
path: root/src/screens/StarterPack/StarterPackLandingScreen.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-06-26 19:00:35 -0700
committerGitHub <noreply@github.com>2024-06-26 19:00:35 -0700
commit0ab6d540937adbc315444c96ba11c85ffa757d51 (patch)
tree1266a5d8e7d05d7f3addafe0d8ea92b3f5ca5bc8 /src/screens/StarterPack/StarterPackLandingScreen.tsx
parent5641a4393c15c666bb95306d722d1ebf805df8ba (diff)
downloadvoidsky-0ab6d540937adbc315444c96ba11c85ffa757d51.tar.zst
Add some events to landing screen (#4664)
Diffstat (limited to 'src/screens/StarterPack/StarterPackLandingScreen.tsx')
-rw-r--r--src/screens/StarterPack/StarterPackLandingScreen.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screens/StarterPack/StarterPackLandingScreen.tsx b/src/screens/StarterPack/StarterPackLandingScreen.tsx
index 2b450494b..df13885e8 100644
--- a/src/screens/StarterPack/StarterPackLandingScreen.tsx
+++ b/src/screens/StarterPack/StarterPackLandingScreen.tsx
@@ -14,6 +14,7 @@ import {useLingui} from '@lingui/react'
 import {JOINED_THIS_WEEK} from '#/lib/constants'
 import {isAndroidWeb} from 'lib/browser'
 import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
+import {logEvent} from 'lib/statsig/statsig'
 import {createStarterPackGooglePlayUri} from 'lib/strings/starter-pack'
 import {isWeb} from 'platform/detection'
 import {useModerationOpts} from 'state/preferences/moderation-opts'
@@ -128,6 +129,9 @@ function LandingScreenLoaded({
     } else {
       onContinue()
     }
+    logEvent('starterPack:ctaPress', {
+      starterPack: starterPack.uri,
+    })
   }
 
   const onJoinWithoutPress = () => {