Help us to help you find volunteers

At the UK Clinical Trials Gateway (UKCTG), we are working to make it easier for people to take part in NHS clinical trials – 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 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.

Condition Widget

You can use this widget to tell your audience about the number of trials currently recruiting for a specific medical condition.

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="https://app.ukctg.nihr.ac.uk/nihr-ukctg-webapp/widgets/js/ukctg-widget.js"></script>

<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.

                  }

                  ukctgWidget.render(widgetConfig);

            };

</script> 

<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 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.

Location widget

You can use this widget to tell your audience about the number of trials currently recruiting for a specific location.

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="https://app.ukctg.nihr.ac.uk/nihr-ukctg-webapp/widgets/js/ukctg-widget.js"></script>

<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: 'light' // 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.

                  }

                  ukctgWidget.render(widgetConfig);

            };

</script> 

<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 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.