1. A computer-implemented method comprising: providing a user interface for creating electronic content, the user interface comprising a canvas for displaying objects used in electronic content being created and the user interface comprising tools for editing the appearance and functionality of the objects; in response to receiving selection of an analytics tool to add tracking to the electronic content being created and selection of an object as a selected object, presenting events associated with the selected object that can be tracked, wherein tracking an event comprises sending information to a collector about occurrences of the event that occur when the electronic content is used; receiving input selecting one of the events as a tracked event; and generating instructions stored in a computer-readable medium, the instructions for implementing tracking of the tracked event in the electronic content.