[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

@ -94,7 +94,7 @@ export function StepProfile() {
React.useEffect(() => {
// We have an experiment running for redueced onboarding, where this screen shows up as the first in onboarding.
// We only want to request permissions when that gate is actually active to prevent pollution
if (gate('reduced_onboarding_and_home_algo')) {
if (gate('reduced_onboarding_and_home_algo_v2')) {
requestNotificationsPermission('StartOnboarding')
}
}, [gate, requestNotificationsPermission])