Adding custom click types, Adding click types to onebox modules – Google Search Appliance Creating the Search Experience User Manual
Page 37
Google Search Appliance: Creating the Search Experience
Best Practices
37
Optionally, you can also:
•
Add custom click types (see “Adding Custom Click Types” on page 37)
•
Add click types to OneBox modules (see “Adding Click Types to OneBox Modules” on page 37)
Adding Custom Click Types
You can also add your own custom ctypes to an XSLT stylesheet. Any ctype values that you add remain
within your system only and are not tracked by Google. Ensure that any ctype values that you add do
not duplicate the built in ctype values.
If you want to track user clicks on elements other than links (such as buttons), refer to the clicklog.js file
on the Google Search Appliance. (clicklog_compiled.js is an optimized version of this file that reduces
the download size and browser latency.)
Adding Click Types to OneBox Modules
If you have OneBox modules where you want to track user clicks, add the onebox ctype to onebox-
default.xsl. To edit onebox-default.xsl, use the Serving > OneBox Modules page in the Admin Console
or an editor of your choice.
desk.local
Local link at the top of the search page
desk.news
News link at the top of the search page
desk.web
Web link at the top of the search page
help
Search Tips link on the search page
keymatch
Keymatch on results page
load
Load results page
logo
Hyperlinked logo
nav.next
Navigation, next page
nav.page
Navigation, specific page
nav.prev
Navigation, previous page
onebox
OneBox on results page (see “Adding Click Types to OneBox
Modules” on page 37)
sitesearch
More results from... link on results page
sort
Sort link on results page
spell
Spelling suggestion
synonym
Related query on results page
OTHER
Any link on the results page that does not have a defined ctype
Click Type
Description