Labs/Test Pilot/ExperimentAPI: Difference between revisions

Line 39: Line 39:
  };
  };


== Experiments ==
= Experiments =


Experiments are much more involved than surveys, and must export four objects, named as follows:
Experiments are much more involved than surveys, and must export four objects, named as follows:
Line 50: Line 50:
These are explained one by one in the following sections.
These are explained one by one in the following sections.


=== 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.  It should contain the following fields:
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.  It should contain the following fields:
Line 66: Line 66:




==== Example ====
=== Example ===


The experimentInfo object for the Tab open/close study is as follows:
The experimentInfo object for the Tab open/close study is as follows:
Line 83: Line 83:
  };
  };


=== dataStoreInfo ===
== dataStoreInfo ==


=== webContent ===
== webContent ==


=== Observer ===
== Observer ==
1,007

edits