1,007
edits
| Line 39: | Line 39: | ||
=== experimentInfo === | === experimentInfo === | ||
This object contains metadata about the experiment: its name and id, its version number, when it is to be run and for how long, whether it recurs, whether it requires an additional layer of opt-in, and the URLs for further information about it. | |||
==== Example ==== | |||
The experimentInfo object for the Tab open/close study is as follows: | |||
exports.experimentInfo = { | |||
startDate: null, | |||
duration: 7, | |||
testName: "Tab Open/Close Study", | |||
testId: 1, | |||
testInfoUrl: "https://testpilot.mozillalabs.com/testcases/tab-open-close.html", | |||
testResultsUrl: "https://testpilot.mozillalabs.com/testcases/tab-open-close/results.html", | |||
optInRequired: false, | |||
recursAutomatically: false, | |||
recurrenceInterval: 0, | |||
versionNumber: 2 | |||
}; | |||
=== dataStoreInfo === | === dataStoreInfo === | ||
edits