Events
An event is something a visitor does on your site that you want to count: a page view, a click, a form submit, or anything your own code reports. A metric then turns events into a number a test is judged on.
List events
Returns every event the project can use, oldest first. The list includes the three built-in events every project has, and archived events. Each event comes with its parameters.
Create an event
Declares a new event on the project. Which other fields are required depends on `type`. Our script starts detecting it on your site the next time it loads its settings. Needs an `editor` or `publisher` key.
Get an event
Returns one event, with its parameters. Built-in events can be fetched too.