Skip to content

Commit e6f3d6f

Browse files
authored
Update 48h rollout targeting to avoid set to default prompt (#15343)
Because The set to default prompt interrupts reopening about:welcome in the 48h returning user experiment This commit Adds a new targeting expression for the enrollment rollout that will exclude users who are eligible to see that prompt.
1 parent 1a32da4 commit e6f3d6f

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

experimenter/experimenter/targeting/constants.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2653,6 +2653,30 @@ def __post_init__(self):
26532653
application_choice_names=(Application.DESKTOP.name,),
26542654
)
26552655

2656+
LAPSED_USER_WINDOWS_ONLY_NO_DEFAULT_PROMPT = NimbusTargetingConfig(
2657+
name="Lapsed Windows users (No activity in the past 28 days), no default prompt",
2658+
slug="lapsed_user_28_days_windows_no_default_prompt",
2659+
description=(
2660+
"Users with a profile age of 28 days and 0 days of activity "
2661+
"in the past 28 days, using Windows, "
2662+
"who will not see the set to default prompt"
2663+
),
2664+
targeting=f"""
2665+
(
2666+
{LAPSED_USER.targeting}
2667+
&&
2668+
(os.isWindows && (os.windowsVersion >= 10))
2669+
&&
2670+
(isDefaultBrowser || 'browser.shell.checkDefaultBrowser'|preferenceValue == false
2671+
|| 'browser.shell.skipDefaultBrowserCheckOnFirstRun'|preferenceValue)
2672+
)
2673+
""",
2674+
desktop_telemetry="",
2675+
sticky_required=False,
2676+
is_first_run_required=False,
2677+
application_choice_names=(Application.DESKTOP.name,),
2678+
)
2679+
26562680
RETURNING_CHURNED_USER_48_HR_OS_NOTIFICATION = NimbusTargetingConfig(
26572681
name="Returning users who have lapsed a second time",
26582682
slug="returning_churned_user_48_hr",

0 commit comments

Comments
 (0)