Skip to main content


Northwestern uses Google Programmable Search with a custom results page to allow searching across Northwestern subdomains. Choose one of the form options below to add search to your website. Please refer to the Google's documentation or email for further customization.

Northwestern-wide Search

This code will search all Northwestern domains:

<form action="" method="get" role="search">
	<label class="hide-label" for="q-desktop">Search web or people</label>
	<input type="text" id="q-desktop" name="q" placeholder="Search web or people"/>
	<button type="submit">Search</button>

Search Within Site

This code will restrict (filter) results to a single site (in this example Web Communications):

<form action="" method="get" role="search">
	<label class="hide-label" for="q-desktop">Search this site</label>
	<input type="text" id="q-desktop" name="q" placeholder="Search this site"/>
	<input type="hidden" name="as_sitesearch" value=""/>
	<input type="hidden" name="sitetitle" value="Web Communications"/>
	<button type="submit">Search</button>


No client-side parameter escaping is necessary. If you are using the departmental template scripts.js, be sure to remove class="searchblox" from any surrounding markup.