1. A method for optimizing a layout of content presented on a client device, the method comprising: identifying, by a processing system, using a layout scheme of a content item, a plurality of display zones of a display area of the content item, each display zone defined by a corresponding component of a plurality of components of the layout scheme of the content item and the content item for display in a content slot of an information resource; providing, by the processing system to a plurality of client devices, the content item and a script for executing on the plurality of client devices to cause the plurality of client devices to monitor interactions with the content item; receiving, by the processing system, interaction data for the content item generated by the script executing on each of the plurality of client devices, the interaction data indicating for each client device of the plurality of client devices corresponding display coordinates within the display area of the content item at which a user action occurs on the client device; mapping, by the processing system, the display coordinates for at least one client device of the plurality of client devices to a first display zone of the plurality of display zones associated with a first component of the layout scheme for the content item; assigning, by the processing system, a first weight to the first component and a second weight different from the first weight to a second component of the layout scheme for the content item based on the interaction data received for the content item and the mapping of the display coordinates for the at least one client device of the plurality of client devices to the first display zone associated with the first component, the first and second weights are non-zero weights; 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.