Search Engine Definitions
Starting with FlashStats version 1.5, the Search Phrases Report uses a list of search engines which you can easily edit to include your own list of search engines.
The search engines to be included in the Search Phrases Report are defined in the FlashStats configuration file (FlashStats.ini for Windows or Mac, flashstats.conf for Unix). If no search engines are defined in the configuration file, FlashStats will use a standard set of search engines (defined below), and the Search Phrases Report will include a note that no custom search engines have been defined.
If you include even one search engine definition in the FlashStats configuration file then FlashStats will only use the search engines defined in the configuration file. In other words, search engines defined in the configuration file are not added to the list of standard search engines, but replaces it.
How to Define a Search Engine
To define a search engine, just add a line to the configuration file in the necessary format. FlashStats will test each hit against the list of search engines in the order that the engines are defined in the configuration file. The Search Phrases Report will also list its results by engine in the same order.
Each search engine definition must fit entirely on one list. (Be sure to note if your text editor is wrapping lines.) A search engine definition consists of several key=value pairs, separated by semicolons.
Each search engine definition begins with the keyword search=Name. Name is the name of the search engine; this name will be displayed in the report. For example: search=Ask Jeeves.
Next comes the url=Address parameter. The Address value specifies the URL that the user will jump to if they click on the name of the search engine (defined by the search= parameter) in the report. For example: url=http://www.ask.com.
Finally, you need to specify pairs of domain=PartialHostName and vars=QueryStringParamName parameters. Each domain= parameter must be followed by a vars= parameter.
The domain=PartialHostName specifies part of the search engine's "host name" to be matched in order to determine if a hit came from that search engine. The "host name" is the part of the URL between the double slash ("//") and the next slash ("/"). For example: domain=ask.com. Note that the search engine may support letting the user use a host name with or without a leading "www.", or that the engine may always direct the search request to a different host name such as "search.domain.com". Therefore, you may or may not want to include a leading dot (".") as the first character in the domains= parameter. For example, if the search engine lets the user use a host name of either domain.com or www.domain.com then you shouldn't use a leading dot since it wouldn't match hits coming from domain.com. On the other hand, if you know that searches are always sent to search.domain.com then you should specify domain=search.domain.com. This would be better than specifying domain=domain.com since it would avoid false matches from host names such as otherdomain.com.
The vars=QueryStringParamName parameter specifies the name of the parameter in the search engine's query string. You can determine what this value needs to be by going to your search engine's home page, typing in a simple phrase such as "test phrase" to search for, and hitting the Search button. On the page that follows in your browser, take a look the page's URL and see what parameter name is used to pass the search phrase. In our example, you would search for the parameter whose value was equal to "test+phrase" (HTML forms replace spaces with plus signs when submitting data). This parameter name should be the value you use in the vars= parameter. For example: vars=ask.
Some search engines use different parameter names for the search phrase depending upon where you start the search from. In this case you can specify multiple parameter names in the vars= parameter by separating them with a comma. For example: vars=query,search,s. (Note that this will instruct FlashStats to match the first parameter name possible for requests coming from the matching host name.)
If the search engine lives at several different URLs then you can append to the definition additional domains= and vars= pairs. For example, see the Ask Jeeves definition below. The definition for Ask Jeeves takes into account the fact that you can access Ask Jeeves via any of three different URLs (aj.com, ask.com, askjeeves.com).
Standard Search Engine Definitions
The following is the list of standard search engine definitions used by FlashStats if no search engines are defined in the FlashStats configuration file. You can cut and paste these definitions into your FlashStats configuration if desired.
search=About.com;url=http://www.about.com;domain=about.com;vars=terms
search=AltaVista;url=http://www.altavista.com;domain=altavista.com;vars=q
search=AOL Search;url=http://search.aol.com/;domain=.aol.com;vars=query,search,s;domain=aolsearch.com;vars=query
search=Ask Jeeves;url=http://www.ask.com/;domain=ask.com;vars=ask;domain=askjeeves.com;vars=ask;domain=aj.com;vars=ask
search=Direct Hit;url=http://www.directhit.com/;domain=directhit.com;vars=qry
search=Dogpile;url=http://www.dogpile.com/;domain=dogpile.com;vars=q
search=Excite;url=http://www.excite.com/;domain=excite.com;vars=search,s
search=FAST Search;url=http://www.alltheweb.com;domain=alltheweb.com;vars=query
search=GO Network;url=http://www.go.com/;domain=.go.com;vars=qt
search=Google;url=http://www.google.com/;domain=google.com;vars=q
search=GoTo;url=http://www.goto.com/;domain=goto.com;vars=Keywords
search=HotBot;url=http://hotbot.lycos.com/;domain=hotbot.lycos.com;vars=MT;domain=hotbot.com;vars=MT
search=InferenceFind;url=http://www.infind.com/;domain=infind.com;vars=query
search=InfoSeek;url=http://infoseek.go.com/;domain=infoseek.go.com;vars=qt;domain=infoseek.com;vars=qt
search=iWon;url=http://www.iwon.com/;domain=.iwon.com;vars=searchfor
search=LookSmart;url=http://www.looksmart.com/;domain=looksmart.com;vars=key
search=Lycos;url=http://www.lycos.com/;domain=lycos.com;vars=query
search=Magellan;url=http://magellan.excite.com/;domain=magellan.excite.com;vars=search,query;domain=mckinley.com;vars=search,query
search=MetaCrawler;url=http://www.go2net.com/;domain=metacrawler.com;vars=general;domain=.go2net.com;vars=general
search=Microsoft;url=http://www.microsoft.com/;domain=microsoft.com;vars=qu,SearchString
search=MSN;url=http://www.msn.com/;domain=msn.com;vars=q,MT
search=NetGuide;url=http://www.netguide.com/;domain=netguide.com;vars=query,Search.Query,AVSearchApp.Query
search=Netscape;url=http://home.netscape.com/;domain=netscape.com;vars=search
search=Northern Light;url=http://www.northernlight.com/;domain=northernlight.com;vars=qr
search=Open Directory Project;url=http://www.dmoz.org/;domain=dmoz.org;vars=search;domain=newhoo.com;vars=search
search=PlanetSearch;url=http://www.planetsearch.com/;domain=planetsearch.com;vars=text
search=RealNames;url=http://www.realnames.com/;domain=realnames.com;vars=realname
search=SavvySearch;url=http://www.savvysearch.com/;domain=savvysearch.com;vars=q,KW;domain=cs.colostate.edu;vars=KW
search=SEARCH.com;url=http://www.search.com/;domain=.cnet.com;vars=QUERY;domain=search.com;vars=QUERY
search=Snap;url=http://www.snap.com/;domain=snap.com;vars=keyword,KW
search=Switchboard;url=http://www.switchboard.com/;domain=switchboard.com;vars=SEARCHSTRING
search=Thunderstone;url=http://www.thunderstone.com/;domain=thunderstone.com;vars=q,arg
search=WebCrawler;url=http://www.webcrawler.com/;domain=webcrawler.com;vars=searchText,text
search=Yahoo!;url=http://www.yahoo.com/;domain=yahoo.com;vars=p
Current Search Engine Definitions
This section of the page will list the current search engine definitions. At this point no new search engines have been defined, so the above list of standard definitions remains definitive.
If you would like to suggest a search engine to add, or to notify us of changes to the standard search engines, please send email to support@maximized.com.