Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop assigning users to Search Box experiment cohorts #3651

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

ayoy
Copy link
Collaborator

@ayoy ayoy commented Dec 9, 2024

Task/Issue URL: https://app.asana.com/0/72649045549333/1208746673107049/f

Description:
This change stops assigning new users to experiment, while keeping Search Box visible for users that have previously been enrolled.

Steps to test this PR:
Run the following commands to make yourself enrolled into the Search Box experiment:

defaults write com.duckduckgo.macos.browser.debug homepage.searchbox.experiment.cohort ntp_search_box_existing_user
defaults write com.duckduckgo.macos.browser.debug homepage.searchbox.experiment.enrollment-date -date "2024-11-10 16:22:28 +0000"
defaults write com.duckduckgo.macos.browser.debug homepage.searchbox.experiment.did-run-enrollment 1

Run the app and confirm that you see the search box.

Then call the following to reset the experiment:

defaults delete com.duckduckgo.macos.browser.debug homepage.searchbox.experiment.did-run-enrollment
defaults delete com.duckduckgo.macos.browser.debug homepage.searchbox.experiment.cohort
defaults delete com.duckduckgo.macos.browser.debug homepage.searchbox.experiment.enrollment-date

Then run the app and confirm that you don't see the search box.
Then verify that this command in terminal doesn't show any output:

defaults read com.duckduckgo.macos.browser.debug | grep homepage

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@ayoy ayoy merged commit c718fdb into main Dec 9, 2024
20 checks passed
@ayoy ayoy deleted the dominik/stop-search-box-experiment-enrollment branch December 9, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants