This service will be redeveloped soon — your feedback will help us to improve it.

Help us to help more people take part in research

At the UK Clinical Trials Gateway (UKCTG), our aim is to make it easier for people to take part in healthcare research studies in the NHS as well as in social care – and to help researchers find potential volunteers suitable for their research.

You can help us promote this valuable work by publishing the UKCTG widget on your website, blog or other digital space.

Who is helping us already?

A number of our partners and supporters are already publishing UKCTG widgets on their sites, to let their audience know about the UK Clinical Trials Gateway. These organisations include:

If you want to join them, see below for more information on how to download and customise our widgets.

The UKCTG Widget

You can use this widget to tell your audience about trials that are currently recruiting. The widget can display either the number of recruiting trials in a condition across the UK, the number of trials in a condition recruiting in a specific area, or the total number of trials recruiting in a specific area.

The widget looks like this:


To publish the widget, copy and paste the below code to your site:

Code Block


<script type="text/javascript" src=""></script>


            window.onload = function() {

                 var widgetConfig = {  // Note, you must specify a primary search query and/or a location

                        query: 'cancer', // The primary search term. If this line is deleted then you must also remove the comma from the start of the next line so no primary term will be used.

                        location: 'York', // The location of the search. If this line is deleted then no location will be used.

                        divId: 'ukctgResult', // Id of the div where you want the widget to be placed.

                        theme: 'dark', // light/dark are the two themes available.

                        width: 400, // width of the widget. If this line is deleted/commented out then, width of 100% will be used.





<div id="ukctgResult"></div>

To make the widget more relevant to your site, you can edit the code.

To change the health condition, replace cancer in the code line query: 'cancer', // The search term with the health condition you want to refer to.

To show results across all health conditions for an area, remove the line query: 'cancer', // The search term

To change the location, replace York in the code line query: 'York', // The location of the search with the geographic region you would like to search.

To show the results across the UK, remove the line location: 'York', // The location of the search

To change the background colour, replace the first light in the code line theme: 'light', // light/dark are the two themes available with either light or dark

To change the width of the widget replace 400 in the code line width: 400 // width of the widget. If not provided then, width of 100% will be used.

If you have any difficulty implementing this code on your website, contact us via this form.