invert flag for sending to statsig (#8431)
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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})
|
||||
}
|
||||
}, [])
|
||||
|
||||
|
||||
@@ -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},
|
||||
)
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user