Skip to content

GPSE: Centrally Hosted Search Results

These instructions are for using a Google Programmable Search Engine (GPSE) with centrally hosted results. This option searches for content campus-wide or site-wide, and displays search results on the university's centrally hosted search results page. 

 

HTML Code for Campus Search

This is the basic search box information you will need to add to your page in order to use centrally hosted campus search results.  You will need to adjust the styling of the search box to match the styles of your website.

	<form action="https://search.utah.edu/" method="get" name="search" role="search">
<label>Search Campus:</label>
<input type="text" name="q" value="" title="enter search terms" />
<input type="submit" name="submit" value="Search" title="Submit Search"/>
</form> 
Example - Central campus search

 

HTML Code for Site Search

This is the basic search box information you will need to add to your page in order to use centrally hosted site search results.  You will need to adjust the styling of the search box to match the styles of your website.

In order for us to identify your collection of sites on the main search results page, you will need to contact the GPSE administrators in order to obtain the hidden input field information.

	<form action="https://search.utah.edu/" method="get" name="search" role="search">
<label>Search Site:</label>
<input type="text" name="q" value="" title="enter search terms" />
<input type="hidden" name="site" value="xxxxxxxxxxxxxx" />
<input type="submit" name="submit" value="Search" title="Submit Search"/>
</form> 
Example - Central site search

 

Request a site search for your website

You will need to contact the GPSE administrators in order to request a site search.  The GPSE site administrators have a registered non-profit account with Google which will allow you to exclude ads from displaying in your search results.   If you choose to create your own GPSE account, your search results will contain ads.

To request code for your site, please send an email to search-admins@lists.utah.edu.  Include the following information:

  • Your contact info
  • List of URLs you want searched

 

Last Updated: 10/13/25