Web Integration Configuration:

Filter Studies by Therapeutic Area

Configure embed script to only display studies assigned to a specific therapeutic area on a website page.

Dermatology Studies

The below script embed code has been configured to filter studies that are assigned to the “Dermatology” therapeutic area. Any study in the CTMS with a “web” status that is assigned to that therapeutic area’s ID will automatically appear below.
SCRIPT EMBED BEGINS HERE

Web Integration Instructions:

Filter by Therapeutic Area

Follow these steps to filter the studies by Therapeutic Area. The script embed will only display studies assigned to the specified therapeutic area with “web” status, complete with screens that display a listing of all studies assigned to that therapeutic area, study details, and application forms that sync directly with your CTMS.
Getting Started: You will need the RTID of an existing RealTime CTMS with the Web Integration service enabled. To find out your organization’s RTID or ask any other questions about the CTMS Web Integration service, please contact RealTime support.
Need help installing the web integration? RealTime is pleased to provide complimentary installation for all customers with active web integrations!

Script Installation

1. Create a page on your website for each therapeutic area that you will be displaying studies. It’s up to you what the page looks like and how users will navigate to the page. You can add links to each therapeutic area’s page on your website’s main menu or list locations on a landing page as demonstrated on this website.
2. In your CTMS, navigate to Administration > Configuration > Web Integration and verify that “Split Web Listing into Separate Pages by Therapeutic Area” is checked.
3. Copy and paste the script code below into a container within the content area of a page on your website, such as an HTML div container or CMS page builder’s text/html widget.
				
					<!-- RealTime CTMS Website Integration Script Embed -->
<script type="text/javascript" src="https://realtime-host01.com/rtid/web/v1/embed?area=#" data-rocket-defer defer></script>
				
			
4. Replace “rtid” in the code with your unique RTID. If you don’t know your RTID, it can be found by logging into your CTMS and looking at the URL displayed in your browser’s address bar:
https://realtime-host01.com/rtid/index.php
5. Replace “#” in the code with the ID number assigned to the therapeutic area you want to display on the page. You can determine a therapeutic area’s ID # by logging into your CTMS, navigating to Administration > Studies > Study Information, then right click and inspect the “Therapeutic Area” dropdown. In the source code, you will see a list of all therapeutic areas alongside the “option value” which contains the therapeutic area ID:
				
					<option value="#">
				
			
6. Ensure at least one study in your CTMS that is assigned to that site location has a “web” status selected by navigation in your CTMS to Administration > Studies > Study Information > Status. Any study with either “enrolling-web” or “upcoming-web” status will automatically display on your website via the script embed.

Customize CSS Styling

Customize the styles of the web integration to match the look and feel of your website with CSS overrides. Colors, typography, application forms, buttons, and more can all be customized to accentuate your organization’s brand identity.
1. If you are customizing the CSS styles of a specific study listing, you can place inline CSS directly on the page where the script embed is installed. However, we recommend using global CSS, particularly for multi-sites with multiple study listings, so that styles can be set in one location and apply to all web integrations installed on your website.

Locating Website’s CSS Settings

Depending on your website’s configuration, your styles may be managed in a linked CSS file or your CMS/Page Builder’s global CSS settings.

2. Detect the class name of the element you are styling using your browser’s inspector tool or by viewing the source code. For example, the parent div container has the class name .rt-embed, while buttons share the class name .osButton.  Use the class name of the element you want to customize in your CSS and the script embed will automatically prioritize your styles and override the default styles.
Tip: You do not need to include every class name in your CSS, just the styles of the specific elements you want to override.
For reference, here is the exact CSS that is used to customize the web integrations displayed on this demo website:
				
					/* RealTime CTMS Web Integration Demo CSS */
.osTitle { font-size:24px; }
h2.osArea { padding: 5px 12px ; color: #fff; background-color: #315470; 
}
.rt-embed h1 { font-size: 30px; line-height: 34px; }
.rt-embed h2 { font-size: 25px; font-weight: 400; }
.rt-embed h3 { font-size: 18px; }
.rt-embed a, .rt-embed a:link { color:#AA0061;}
.osButton { background-color: #AA0061; color: #fff; font-size: 20px; font-weight: bold; text-shadow: none;
	box-shadow: none; }
.osContent hr { color: #001F5B; background-color: #001F5B; }
.rt-embed input { padding: 12px; }
.rt-embed div {	margin-bottom: 25px; }
.rt-embed div{ margin-bottom: 7px; }
.rt-embed select, textarea, input { border: 1px solid #C0C0C0; background: #fff; }
.rt-embed input[type="checkbox"] { margin-right:10px; }
.osFormLabel { font-weight: 700; }
.osDetail h3 { font-size: 14px; }
.rt-study-content-singlepage-application { background-color: #d9f2f6; border: none; padding: 15px; }

				
			

Troubleshooting: If an element is not responding to the style overrides as expected, it may be due to another conflicting style coming from your website’s linked CSS or CMS theme. For any styles that are not overriding as expected, adding the !important markup may resolve the conflict by forcing the style override to be prioritized. for example:

.osTitle { font-size:24px !important; }

Scroll Offset

When navigating between the study listing and detail screens, the script embed is designed to snap to the top of generated content. In some cases, the generated content may be cut off by the screen or covered by fixed header/navigation elements. The height of the scroll offset can be adjusted to ensure that information is not obscured.

Simply add the scroll offset parameter as shown below:

				
					<!-- RealTime CTMS Website Integration Script Embed -->
<script type="text/javascript" src="https://realtime-host01.com/rtid/web/v1/embed?scrollOffset=#" data-rocket-defer defer></script>
				
			

Replace the “#” with the height in pixels that you would like to add to the scroll offset. For example, if your study listing is being covered by a fixed header/navigation element, determine the pixel height of the header and use that number in the scroll offset parameter. Adjust the number as needed until the information generated by the script embed remains on screen and unobscured as you click between study listing and detail/application screens.

Multiple Parameters

Site Location, Therapeutic Area, Scroll Offset, and any other parameters can be used in combination. If you are using more than one parameter in your script embed, chain them together by using “&”, for example:

				
					<!-- RealTime CTMS Website Integration Script Embed -->
<script type="text/javascript" src="https://realtime-host01.com/rtid/web/v1/embed?location=#&area=#&scrollOffset=#" data-rocket-defer defer></script>
				
			

CTMS Configuration

After the above installation is complete, the study listing, details, and application forms that display on your website will be fully managed from your CTMS admin. Here are some key web integration settings you will find in your CTMS.

Website Information (Study Detail, Flyer Graphic, Application Forms, etc.)

All the information that displays on your website can be managed from within your CTMS under Administration > Studies > Select a Study > Website Information. 

Here you have full control of the each study’s title, keywords, detail/description, flyer graphic, application form, and more. 

Study Detail and Application Form Layouts

Navigate to Administration > Configuration > Web Integration and locate the checkbox that says “Display application form on study details page”.

Side-by-Side on Same Screen (Checked): The recommended format is study detail and application form side-by-side on the same screen, which allows you to send applicants to one screen where they can see all the info and enroll to participate in one place. One “Study Details” button will appear for each study and the script will generate a unique URL that allows you to send applicants directly to the screen with details and application form.

Separate Screens (Unchecked): If you would like for your study details and application forms to display on separate screens, leave the box unchecked. Each study will now have a “Study Details” and an “Apply Now” button that link to separate screens. 

Note: this setting is required for “Application Form Only” installations.

Access the Report

Complete the form below to access the full report.