diff options
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/Moderation/VerificationSettings.tsx | 10 | ||||
-rw-r--r-- | src/screens/Profile/Header/Shell.tsx | 12 | ||||
-rw-r--r-- | src/screens/Search/Explore.tsx | 2 | ||||
-rw-r--r-- | src/screens/Search/modules/ExploreTrendingTopics.tsx | 6 | ||||
-rw-r--r-- | src/screens/Signup/StepHandle.tsx | 2 |
5 files changed, 24 insertions, 8 deletions
diff --git a/src/screens/Moderation/VerificationSettings.tsx b/src/screens/Moderation/VerificationSettings.tsx index f9665d6d9..cd023ae56 100644 --- a/src/screens/Moderation/VerificationSettings.tsx +++ b/src/screens/Moderation/VerificationSettings.tsx @@ -46,9 +46,13 @@ export function Screen() { to={urls.website.blog.initialVerificationAnnouncement} label={_(msg`Learn more`)} onPress={() => { - logger.metric('verification:learn-more', { - location: 'verificationSettings', - }) + logger.metric( + 'verification:learn-more', + { + location: 'verificationSettings', + }, + {statsig: true}, + ) }}> Learn more here. </InlineLinkText> diff --git a/src/screens/Profile/Header/Shell.tsx b/src/screens/Profile/Header/Shell.tsx index 9e868c474..9777c8cc7 100644 --- a/src/screens/Profile/Header/Shell.tsx +++ b/src/screens/Profile/Header/Shell.tsx @@ -101,14 +101,22 @@ let ProfileHeaderShell = ({ useEffect(() => { if (live.isActive) { - logger.metric('live:view:profile', {subject: profile.did}) + logger.metric( + 'live:view:profile', + {subject: profile.did}, + {statsig: true}, + ) } }, [live.isActive, profile.did]) const onPressAvi = React.useCallback(() => { if (live.isActive) { playHaptic('Light') - logger.metric('live:card:open', {subject: profile.did, from: 'profile'}) + logger.metric( + 'live:card:open', + {subject: profile.did, from: 'profile'}, + {statsig: true}, + ) liveStatusControl.open() } else { const modui = moderation.ui('avatar') diff --git a/src/screens/Search/Explore.tsx b/src/screens/Search/Explore.tsx index 1aac68c43..930bc1762 100644 --- a/src/screens/Search/Explore.tsx +++ b/src/screens/Search/Explore.tsx @@ -959,7 +959,7 @@ export function Explore({ } if (!alreadyReportedRef.current.has(module)) { alreadyReportedRef.current.set(module, module) - logger.metric('explore:module:seen', {module}) + logger.metric('explore:module:seen', {module}, {statsig: false}) } }, []) diff --git a/src/screens/Search/modules/ExploreTrendingTopics.tsx b/src/screens/Search/modules/ExploreTrendingTopics.tsx index ee541e385..130eb1e5e 100644 --- a/src/screens/Search/modules/ExploreTrendingTopics.tsx +++ b/src/screens/Search/modules/ExploreTrendingTopics.tsx @@ -44,7 +44,11 @@ function Inner() { trend={trend} rank={index + 1} onPress={() => { - logger.metric('trendingTopic:click', {context: 'explore'}) + logger.metric( + 'trendingTopic:click', + {context: 'explore'}, + {statsig: true}, + ) }} /> ))} diff --git a/src/screens/Signup/StepHandle.tsx b/src/screens/Signup/StepHandle.tsx index c84679227..8bf0c3364 100644 --- a/src/screens/Signup/StepHandle.tsx +++ b/src/screens/Signup/StepHandle.tsx @@ -55,7 +55,7 @@ export function StepHandle() { value: _(msg`That handle is already taken.`), field: 'handle', }) - logger.metric('signup:handleTaken', {}) + logger.metric('signup:handleTaken', {}, {statsig: true}) return } } catch (e) { |