[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

@ -83,7 +83,7 @@ export function StepFinished() {
* selected in onboarding and therefore we don't need to run this
* code (which would overwrite the other feeds already set).
*/
if (!gate('reduced_onboarding_and_home_algo')) {
if (!gate('reduced_onboarding_and_home_algo_v2')) {
const otherFeeds = selectedFeeds.length
? selectedFeeds.map(f => ({
type: 'feed',
@ -120,7 +120,7 @@ export function StepFinished() {
})(),
(async () => {
if (!gate('reduced_onboarding_and_home_algo')) return
if (!gate('reduced_onboarding_and_home_algo_v2')) return
const {imageUri, imageMime} = profileStepResults
if (imageUri && imageMime) {