Do you want your search results page to run third-party web services such as Foresee, Google Analytics, Omniture, Siteimprove, or WebTrends?

Input the JavaScript code you’d like to call from your search results page. Click submit to send us your request. We’ll input your code for you and send you an email to confirm that we’ve done it.

Some tips for commonly used third-party web services follow.

Note: We do not currently support Google Tag Manager. You will need to submit all of the scripts you are managing in your Google Tag Manager setup.

Google Analytics Tip

Within your Google Analytics account, select the option, Do Track Site Search. Set the query parameter as query. For more information, read Google’s tip, Set Up and Configure Site Search(External link).

Additionally, if you’ve requested domain masking and you want to include the analytics for your search.agency.gov subdomain with your main agency.gov domain, you’ll need to set your domain in your Google Analytics JavaScript by including _gaq.push(['_setDomainName', 'agency.gov']);.