Closed
Bug 1362044
Opened 9 years ago
Closed 8 years ago
Implement live code A/B tests on MDN
Categories
(developer.mozilla.org Graveyard :: General, enhancement)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: espressive, Unassigned)
References
Details
(Keywords: in-triage)
Once all the sample pages for A/B testing is ready, we need to implement and roll out the A/B testing using TrafficCop.
For the first set of A/B tests, we are going to target Chrome users specifically, and therefore the code to use for TrafficCop will be something like the following:
var isChrome = !!window.chrome && !!window.chrome.webstore;
if (isChrome) {
var lou = new Mozilla.TrafficCop({
id: 'experiment-framework-test',
cookieExpires: 24 * 365, // 1 year
variations: {
'v=control': 50, // original
'v=test': 50 // content from Experiment:LiveSampleTest
}
});
lou.init();
}
Comment 1•8 years ago
|
||
The interactive examples are out of beta and shipped.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•