Skip to content

Update ab test opt in links#15106

Merged
Jakeii merged 3 commits intomainfrom
jlk/update-opt-in-links
Jan 13, 2026
Merged

Update ab test opt in links#15106
Jakeii merged 3 commits intomainfrom
jlk/update-opt-in-links

Conversation

@Jakeii
Copy link
Copy Markdown
Member

@Jakeii Jakeii commented Jan 9, 2026

What does this change?

Update ab test opt in links in the docs and frontend admin page

Why?

The format has changed, and now the test name is required to opt out of tests, as you can now be opted into multiple tests

Screenshots

Before After
before after

@Jakeii Jakeii requested a review from a team as a code owner January 9, 2026 11:01
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 9, 2026

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@Jakeii Jakeii added run_chromatic Runs chromatic when label is applied maintenance Departmental tracking: maintenance work, not a fix or a feature labels Jan 9, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jan 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 9, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 9, 2026

- Opt-out on PROD: `https://theguardian.com/ab-tests/opt/out`
- Opt-in Example on PROD: `https://theguardian.com/ab-tests/opt-in/commercial-test-example:variant`
- Opt-out Example on PROD: `https://theguardian.com/ab-tests/opt-out/commercial-test-example:variant`
- Opt-out on PROD: `https://theguardian.com/ab-tests/opt-out`
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this final "Opt-out on PROD" link opt you out of all tests you've opted into? If so maybe we can state that here in the docs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah good point

@Jakeii Jakeii force-pushed the jlk/update-opt-in-links branch from 26fbfc4 to a7c8ebb Compare January 9, 2026 14:58
Copy link
Copy Markdown
Contributor

@deedeeh deedeeh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like the UI changes @Jakeii 👍🏼 The docs looks good as well!

@arelra arelra added the run_chromatic Runs chromatic when label is applied label Jan 12, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jan 12, 2026
@Jakeii Jakeii merged commit ba75b6f into main Jan 13, 2026
24 checks passed
@Jakeii Jakeii deleted the jlk/update-opt-in-links branch January 13, 2026 10:08
@gu-prout
Copy link
Copy Markdown

gu-prout Bot commented Jan 13, 2026

Seen on PROD (merged by @Jakeii 11 minutes and 51 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants