1. A method for optimizing a layout of content presented on a client device, the method comprising: collecting, by a processing system, interaction data for a content item presented on a client device, the interaction data indicating a location within a display area of the content item at which a user action occurs; assigning, by the processing system, a first weight to a first component and a second weight different from the first weight to a second component of a layout scheme for the content item based on the interaction data collected for the content item; and modifying, by the processing system, a display size of the first component of the layout scheme that has the first assigned weight relative to a display size of the second component of the layout scheme that has the second assigned weight different from the first assigned weight.