diff options
author | Hailey <me@haileyok.com> | 2024-06-26 19:00:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 19:00:35 -0700 |
commit | 0ab6d540937adbc315444c96ba11c85ffa757d51 (patch) | |
tree | 1266a5d8e7d05d7f3addafe0d8ea92b3f5ca5bc8 /src/screens/StarterPack/StarterPackScreen.tsx | |
parent | 5641a4393c15c666bb95306d722d1ebf805df8ba (diff) | |
download | voidsky-0ab6d540937adbc315444c96ba11c85ffa757d51.tar.zst |
Add some events to landing screen (#4664)
Diffstat (limited to 'src/screens/StarterPack/StarterPackScreen.tsx')
-rw-r--r-- | src/screens/StarterPack/StarterPackScreen.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/screens/StarterPack/StarterPackScreen.tsx b/src/screens/StarterPack/StarterPackScreen.tsx index 7c5cfd0b7..aa0e75a23 100644 --- a/src/screens/StarterPack/StarterPackScreen.tsx +++ b/src/screens/StarterPack/StarterPackScreen.tsx @@ -152,6 +152,12 @@ function StarterPackScreenInner({ const [link, setLink] = React.useState<string>() const [imageLoaded, setImageLoaded] = React.useState(false) + React.useEffect(() => { + logEvent('starterPack:opened', { + starterPack: starterPack.uri, + }) + }, [starterPack.uri]) + const onOpenShareDialog = React.useCallback(() => { const rkey = new AtUri(starterPack.uri).rkey shortenLink(makeStarterPackLink(starterPack.creator.did, rkey)).then( |