[Statsig] Fix exposure logging for reduced onboarding (#4131)

* Add dangerouslyDisableExposureLogging option

* Rename onboarding gate to v2

* Disable exposure logging for onboarding in PostFeed query
This commit is contained in:
dan 2024-05-21 00:17:57 +01:00 committed by GitHub
parent 516eb69637
commit 4fa92d7a49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 29 additions and 14 deletions

View file

@ -152,7 +152,13 @@ export function usePostFeedQuery(
feedTuners,
userInterests, // Not in the query key because they don't change.
getAgent,
useBaseFollowingFeed: gate('reduced_onboarding_and_home_algo'),
useBaseFollowingFeed: gate(
'reduced_onboarding_and_home_algo_v2',
{
// If you're not already in this experiment, we don't want to expose you to it now.
dangerouslyDisableExposureLogging: true,
},
),
}),
cursor: undefined,
}