A method includes receiving, from a computing device, a request for content from a content provider and determining one or more experiment variations of the requested content that the computing device is assigned to based, at least in part, on the request. The method further includes generating, by a processing device, code indicating the determined one or more experiment variations and inserting the code into executable code corresponding to the requested content. The executable code is transmitted to the browser.