A computer program product comprising a non-transitory computer readable storage medium having instructions encoded thereon that, when executed by a processor, cause the processor to:
- render a frame within a web page including a content item obtained from an online system, the content item having components including a title, image or video data, and a landing page specifying a network address of additional content for the client device to retrieve in response to an interaction with the content item;
- position content within the web page based on layout information included on the non-transitory computer readable storage medium;
- and
- position one or more components of the content item obtained from the online system within the web page based on the layout information;
- render the web page including the content from the third-party system and one or more components of the content item obtained from the online system, and
- display the rendered web page on a client device including the processor.