-
Notifications
You must be signed in to change notification settings - Fork 30
Updates to ab-testing docs and admin dashboard #14683
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
Conversation
603ecee to
77adb87
Compare
|
|
||
| Use the opt-in and opt-out URL fragments to force yourself into or out of a test. | ||
|
|
||
| When opted-in, the test will override any cookie based assignment and you'll only be in the specified test group. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test will override any cookie based assignment
Assume this relates just to the MVT ID cookie. Don't we use cookies to explicitly opt in to AB tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah you're right, will clarify!
| These links are also in the [frontend admin](https://frontend.gutools.co.uk/analytics/ab-testing). | ||
|
|
||
| - Opt-in Example: `https://theguardian.com/ab-tests/opt/in/commercial-test-example:variant` | ||
| - Opt-out: `https://theguardian.com/ab-tests/opt/out` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would we need to specify the test we are opting out of?
| - Opt-out: `https://theguardian.com/ab-tests/opt/out` | |
| - Opt-out: `https://theguardian.com/ab-tests/opt/out/commercial-test-example:variant` |
Or would this opt out of all tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can only opt into one test at a time, so specifying for the opt out isn't necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh interesting! Didn't realise that
| x={`${bar.x + 0.1}%`} | ||
| y={bar.y} | ||
| width={`${bar.width}%`} | ||
| width={`${bar.width - 0.2}%`} | ||
| height={BAR_HEIGHT} | ||
| > | ||
| <g class="bar"> | ||
| <rect height={BAR_HEIGHT} width="100%" rx="4" /> | ||
| <rect height={BAR_HEIGHT - 2} width="100%" rx="4" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are these extra numbers for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just to add a bit of margin around the test blocks
What does this change?
Adding info and links for opting in/out and the dashboard to docs.
Fix opting in links in the dashboard and add info on opting in/out.
Fix some rendering bugs with the tests in the dashboard. Add a few visual features. Consolidate client and server side tests.
Add the ab-test frontend to the pnpm workspace
Why?
Screenshots