Do you want your search results page to run third-party web services such as Foresee, Google Analytics, Omniture, Siteimprove, or WebTrends?
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).
For more information, read Google's tip, Tracking Multiple Domains (External link).
The code you submit should look something like one of the following two scripts.
Google Analytics Code (Older Format)
Google Analytics Code (Newer Format)
Digital Analytics Program Tip
Does your federal agency participate in the Digital Analytics Program (DAP)? You don't need to do anything. We're already fully integrated with DAP.
Coordinate with your ForeSee representative and DigitalGov Search to implement your customer satisfaction survey on your results page. The four general steps follow.
Update the files path in your Foresee code to use an absolute path instead of a relative path.
Find => 'files': '/fsrscripts/',
and replace it with => 'files': '//www.youragency.gov/fsrscripts/',
(Or, find => 'files': '/foresee/', and replace it with => 'files': '//www.youragency/foresee/',)
in the following five files.
Submit your foresee-trigger.js via our Admin Center. It should look something like the following script.
We'll send you an email to confirm that we've set up both your CNAME and added the script for your foresee-trigger.js file.
Did you know? We use Google Analytics Web analytics software—our own tag plus the Digital Analytics Program tag—by default. Email us at email@example.com if you'd like to opt out. Learn more about our site policies and terms of service.