the invention represents phase 3 in the evolution of content recommendation ( see fig1 ). here , the idea is to start by understanding the current user &# 39 ; s context , i . e . : what is their intent ? what are they looking for ? based on this understanding , then find the appropriate peer group representing other users who are most like the current user in the context of this identified interest . from there , find the content that that peer group identifies as most relevant to the current context . the approach taken in the invention is context - centric or , put another way , intent - centric . the techniques used to achieve this approach are described later and are fundamentally based on the userank technology and affinity engine described , in part , in u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 . it should be noted that all previous approaches , including the content - centric and user - centric approaches , are subsumed and improved by the phase 3 approach manifested in the invention . because the invention adds the dimension of context to the picture , on top of users and content , it is always possible to choose to ignore context and use the system to provide collaborative filter , profiling . however , even these previously known approaches are significantly improved in their functionality based on a critical aspect of the invention which provides full - spectrum behavioral fingerprints . fig2 is an architectural schematic diagram showing a method and apparatus for context - based content recommendation according to the invention . full - spectrum behavioral fingerprints provide a significant advancement over current state - of - the - art implicit ratings , which essentially amount to click analysis and purchase behavior . first , they take into account a wide variety of user behaviors including , but not limited to , clicks , time spent on a page , scrolling and mouse movement , explicit actions such as print , email , bookmark , links used , frequency of return visits , and searches performed . second , all of these behaviors can be cross - correlated with the current user &# 39 ; s behaviors on other pages , and also with the rest of the community &# 39 ; s and identified peers &# 39 ; behaviors on the current page . from this analysis , a probability that the user has found value in a particular piece of content can be discerned and fed into the learning system . a further aspect of the invention concerns the seamless integration of existing strategies for automatic content recommendation ( see fig3 ), including search engines 301 and profiling systems 302 , and ad servers 303 , as well as systems for manual recommendations including merchandising rules and systems 304 . the invention also seamlessly integrates with other information sources related to the content , such as product catalogs 305 , which can be used for purposes of display , filtering , or learning . finally , because of the comprehensive nature of the information collected and the learned affinities , the system represents a general wisdom platform 501 on top of which many applications can be built ( see fig4 and fig5 ), such as socialsearch 502 , content 503 and product 504 recommendations , insights 505 , email 506 , and live connect 507 which are tailored to various applications , e . g . ecommerce , emarketing , etc . additional applications include reports and integrations with bid management systems for search engine optimization and search engine marketing 508 , mobile and iptv 509 , and custom applications or mashups 510 . some of these applications are described later . each of these critical aspects are now described in greater detail a core advancement in the evolution of content recommendation embodied by invention is the process for identifying and representing the users current topic of interest and converting that interest into a set of useful recommendations and information . the steps in this process are shown in fig6 and outlined below : step 1 : when a user comes to a web site , they immediately begin to establish their current context . they might do this by entering a query into a search box on the site , navigating to a particular section , or may even have established some context before arriving at the site by doing a search on an external search engine , such as goggle or yahoo , that led to this site . all of this information is captured by an observer tag , i . e . a piece of html / javascript embedded in the web site . as the user continues to move through the site , they may also show interest in a particular page or piece of content , based on their implicit actions . interest is determined based on various behaviors collected by the observer tag and analyzed using the invention &# 39 ; s full spectrum behavioral fingerprint technology 601 ( described in greater detail below ). these pages of interest further contribute to the user &# 39 ; s context . all of this information is stored as the user &# 39 ; s current context vector 602 , which is a hybrid vector of terms and documents with weights on each entry reflecting how strongly that term or document reflects the user &# 39 ; s current context . as a user enters search terms and / or clicks navigation links , the vector entries corresponding to the terms and phrases entered or clicked are incremented to capture expressed interest . as these actions move further into the past , the corresponding entries are decremented or decayed . similarly , documents that a user clicks on or indicates interest in , as determined based on their implicit actions , increment the corresponding vector entry to a degree based on the level of interest and level of certainty determined by the invention . the result is a representation of the user &# 39 ; s current context as a context vector . it is also possible to increment the context vector further , based on historical actions and historical contexts of interest of the user . although this is not generally done in the preferred embodiment because such information can be misleading , it is possible to increment the context vector to a lesser degree based on these historical contexts in applications where historical behavior is considered to be relevant . step 2 : expand and refine the context vector into an intent vector 603 , based on affinities / associations learned from the aggregated wisdom 604 collected from observations on the community as a whole over a longer term . for example , the user may have entered a query about digital slr cameras and expressed implicit interest in a nikon page . in the context vector , the entries corresponding to “ digital slr camera ” as well as “ digital ,” “ slr ,” and “ camera ” to a lesser degree are incremented , as is vector entry corresponding to the particular nikon page of interest . to create the intent vector , the system looks at affinities between the terms and documents in the context vector to other terms . for example , the community wisdom may have discovered that the term “ high - resolution ” may be highly associated with both the term “ nikon ,” as well as with the specific nikon page of interest . the intent vector is thus incremented at the entry corresponding to “ high - resolution .” similarly , other documents that are associated to the terms in the context vector may be discovered based on the community wisdom and are incremented in the intent vector . for example , a canon camera page may have strong affinities to “ slr camera ” and become part of the intent vector to some degree . the affinities 604 that allow the expansion of the context vector into an intent vector are determined by the affinity engine which is described below and in detail in u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 . in summary , the affinity engine learns connections between documents and terms , documents and documents , terms and terms , as well as users to other users , documents , and terms by watching all of the implicit behaviors of the user community on the site and by applying behavioral fingerprinting and the use rank algorithm to determine interest and associations . the ability to translate context into intent effectively is a key aspect of the invention . step 3 : identify the group of users who share affinity to the current intent , as well as those users who exhibit behavior most like the current user within the context of that intent . in u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 , these are called “ experts ” and “ peers ” respectively , but here we combine them both under the name “ peers .” this peer group is represented by a user vector 605 and each user entry in the vector may have a weight indicating how strong of a peer he is to the current user in this context . although not generally recommended , the system is also capable of limiting the peer group to those users who match the current user based on a set of predefined attributes , such as age , gender , location , or other demographic variables . similarly , the peer group can be limited to those users who visit the site at the same time of day , e . g . morning , afternoon , evening . in some cases these attributes can be used to influence the peer weights for users , such as giving slightly more peer weight to those users who also best match the user along these predefined variables . the invention can also learn these weights by comparing behavioral patterns , e . g . documents found useful in the simplest case , within and across each of the predefined attribute groups . higher intra - group similarity in behavior compared to inter - group similarity indicates the group is differentiated and thus a higher weight of influence for groupness is warranted when influencing the peer group . similarity can be measured by looking at similarity of documents and terms used through one of many similarity calculations , e . g . cosine similarity , on users &# 39 ; aggregated interest vectors . step 4 : look at which documents have highest affinity to the identified peers within the current intent 606 . to do this the affinity engine looks at a combination of factors , including the overall usefulness of a piece of content , as represented by the activeness vector , learned affinities between terms and content , as represented by term - doc matrices , and predicted navigational patterns , as represented by next - step matrices , associated with those peers the factors are weighted according to their peer weight , and used in aggregate to compute those documents with highest affinity to the current intent . these documents become the unfiltered recommendations 607 . filtering , described in greater detail below , may now be applied to limit or augment those community recommendations . step 5 : now that the recommendations have been identified and appropriately filtered , a final optional step is to ask the affinity engine for community information on each of the recommendations 608 . this information can be combined with other asset information , such as title , size , or price , and displayed to the user to help them understand the community wisdom underlying a recommendation . many aspects of the community wisdom associated with a document in the affinity engine can be exposed , but in common implementations we expose the number of users in total who found value in the document , the number of peers who associated the document with the current context / intent , and the terms / phrases the peer community has associated with the document . this latter piece , i . e . terms associated to the document , is called a virtual folksonomy because it represents terms that the community has associated to the document , but unlike a traditional folksonomy , discussed above , where users must explicitly make the associates , the virtual folksonomy is created automatically by the affinity engine based on the implicit actions of the user community . terms that are searched or clicked as navigation links and lead , within one or more steps , to useful content , as determined by behavioral fingerprinting , become automatically associated . these term - doc connections are both fundamental to the process of providing recommendations , as well as providing useful feedback to users on the topics associated with each recommendation . when these terms are displayed to a user , they can be made clickable so that the user can click them to provide further input regarding their current intent . this information then becomes part of their context vector , the whole process repeats , and new recommendations may be provided based on this new information . fig7 provides a conceptual diagram of a virtual folksonomy , contrasted against traditional approaches for connecting terms to content . time factors in heavily to all computations in moving from context to recommendation . first , all information collected by the affinity engine is subject to time decay . this means that , for example , information from last month has less of an influence on the calculations than information from today . this is important because the site may change , e . g . new content added or removed , people may individually change , e . g . their interests may change , and the community as whole may shift interest , e . g . new fads . although there is a default decay rate for all information , some information may decay away more rapidly if it is determined that this is necessary . for example fad behavior , such as interest in christmas products that come and go quickly , may need to be decayed more quickly to prevent recommending christmas products too long after christmas has passed . to prevent this , the system runs a trend detection system across all content on a periodic basis , e . g . once a day , or every five minutes for very time - sensitive sites . trend detection can be done in a number of ways , but one way is to use the mann - kendall algorithm . other ways include various regression techniques that employ least - squares fit . if a strong negative trend is detected for a given piece of content , the information associated with that content in the affinity engine is decayed at a more rapid rate . the result is that the likelihood of the affinity engine recommending this piece of content is reduced . another algorithm for fad detection that is run on a periodic basis is cyclical fad detection . if a piece of content shows a strong positive trend and that same trend can be found at regular intervals in the past , then that piece of content can be automatically boosted in importance in anticipation of the coming trend . in a traditional web site , even where the site proprietor is trying to understand customer behaviors , techniques that are typically used survey the customer and analyze the customer responses to produce a report . by the time the report is analyzed , the results of the report are out of phase with the actual situation at the time the report is being reviewed . for example , in a traditional system , a commerce site might collect feedback during the christmas season and redesign their site in february in response to that information . in effect , the commerce site is trying to sell christmas products in february . alternatively , analytics reports may be created offline and analyzed by a team of specialists to infer trends and determine appropriate actions ; a process which may take weeks or month and again lead to out - of - date site modifications . in this way , the automatic nature of the invention herein allows a web site to adapt in real - time to discovered trends and fads , providing recommendations to users that fit the current context and time . in addition to contributing to the process of automatic content recommendation , however , the trend and fad detection algorithms used by the invention can also be exposed to owners of the content system , e . g . the web site , through reports within a customer portal . in the preferred embodiment , such reports on community trends and fads can , for example , be used by merchants to promote certain products or content at the right time , making such promotions more effective . given the example of products that are sold during the christmas season , if such sales were to die out after christmas , then the proprietor of the commerce site would be able to follow the sales curve based on community interaction with the web site . if , on the other hand , an emergent news story drives demand for a product quickly , the invention allows the merchant to watch the curve of demand and respond in real - time . thus , if people are all of a sudden dramatically interested in a particular piece of content or product , the proprietor of the web site can provide that content or product more quickly . if the demand dies out quickly , for example the interest was based on a fad , then the proprietor of the site can adjust to that fact as well . as already mentioned , and as discussed in greater detail in u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 , the affinity engine learns connections / affinities between terms - documents , terms - terms , terms - users , documents - documents , documents - users , and users - users . ( note : the terms document , content , and asset are used interchangeably throughout this document . in all cases , these terms refer to any type of medium that provides information or services including , for example but not limited to , webpages , word documents , pdfs , video , audio files , widgets , and / or products ). in the preferred embodiment , all affinities are stored as sparse matrices and vectors . however , there are many alternative ways of storing such information known to those skilled in the art . although there is ultimately a single number that can be calculated to represent the affinity between any two entities , e . g . a document and term , there are usually several sub - affinities that are combined in a weighted sum to arrive at that single number . the weights on that sum may be dependent on context . for example , documents have at least three kinds of affinities to other documents : similarity in virtual folksonomy , i . e . terms the community has associated to the documents ; similarity in user groups , i . e . how many users have used both documents ; and similarity in navigational patterns usage , e . g . do users show a pattern of finding value in one document after using the other . a variety of mathematical techniques are available to be employed as appropriate to each kind of data , although a combination of vector space models and custom probabilistic techniques are currently used by the preferred embodiment of the invention . see u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 for more discussion . one important aspect of the invention is that all sub - affinities are always computed bi - directionally . to illustrate this bidirectionality , we describe its application to the term - document sub - affinity derived from the virtual folksonomy . fig8 is an architectural diagram showing the aspects of the invention that involve topic attraction and topic match , the two dimensions that make up the bidirectional virtual folksonomy connection between terms and documents , as well as general activeness . in the example of fig8 , a query is provided 801 and a percentage of respondents who ultimate find value in one of three example documents are indicated . the query involves a particular nikon camera and it can be seen that 20 % of the respondents find value in a web page focused on high - resolution cameras 802 , 78 % found value in the overview page for the specific camera 803 , and only 2 % of users making this query found value in the detailed specification sheet for the camera 804 . as a side note , remember that value is determined by the full spectrum of behaviors exhibited on a given page by the user ( described in detail later ). there are two ways to consider the virtual folksonomy connection between the query and each example document . topic attraction starts from the query and considers the proportion of users who searched for “ nikon 580x ” and subsequently found value in each document . in this example , the overview page 803 has highest topic attraction , with 78 % of users finding value there , followed by the high - resolution camera page 802 with 20 %, and then the spec sheet 804 with only 2 %. note that this example is simplified for the purposes of illustration . in reality , we also break down the query into its component parts and consider the affinities of these to each document , as well as consider affinities between other terms that the affinity engine has learned have similar meaning to this one . in this way , topic attraction can be thought of as a problem of predicting the probability that a user finds value in a given document , given the intent represented by the query . in the preferred embodiment arriving at this probability is accomplished using a combination of probabilistic techniques , including bayesian inference . topic match looks at it from the other direction starting from each document and considering all of the other terms that have been associated with it through the behaviors of other users . so , for example , the high - resolution camera page 802 may have many other camera names connected to it and , thus , the degree of focus on the particular query entered is lower than both of the other two pages , whose term - document connections are more highly concentrated around “ nikon 580x ” specifically . in fact , the spec - sheet 804 may turn out to be the document with term connections most focused around “ nikon 580x ” and thus have the highest topic match for this query , even though it has the lowest topic attraction . as with topic attraction , in reality , topic match also breaks down the query into its component parts and takes into account affinities between other terms not in the query . in this way , topic match can be seen as finding the document with the best overall match in topic to the intent represented by the query . in the preferred embodiment , a vector space model and modified cosine similarity technique , similar to that used by traditional full - text search , is used to determine the degree of matching . these two directions of considering the affinity of each document to the query , i . e . topic attraction and topic match , are combined in a non - linear weighted sum along with the final factor of overall activeness i . e ., usefulness , to arrive at a value for the virtual folksonomy sub - affinity . this sub - affinity is then combined with other sub - affinities , such as those based on navigational patterns , and filtered through the lens of peer groups , to arrive at an ultimate ranking of documents against the query , called userank . similar bidirectional techniques are used to compute userank when providing recommendations on a particular web page , and when considering the full context and intent vectors . there are several methods for combining the various sub - affinities and the bidirectional dimensions therein to arrive at the ultimate userank of documents for a particular user and context . in the preferred embodiment , one or more thresholds are applied to each dimension , including absolute and relative thresholds before they are combined together based on hybrid arithmetic - geometric weighted average . each resulting sub - affinity is then similarity subjected to a thresholding before being combined with other sub - affinities again based on hybrid arithmetic - geometric weighted average . the values for the thresholds are generally fixed , however , the individual weights for the weighted averages can also be adjusted and learned based on the success of the result set returned by the affinity engine . as discussed herein , a key feature of the invention is the processing and analysis of implicit observations that are made during the actual use of a web site , for example , versus traditional approaches in technology which use explicit feedback . one key advantage of the invention , as confirmed through scientific studies , and as understood from human psychology and sociology , is that humans are very bad at giving feedback , particularly if the feedback must be given explicitly . if a person is being surveyed , the person does not have an incentive to give actual accuracy in the form of feedback . one aspect of the invention eliminates such survey bias by using the implicit behaviors observed during use of particular materials on the web by individuals within a community . thus , the invention trusts what people do but does not watch what they say . the invention watches people &# 39 ; s behavior through their actual action , implicit behaviors , and can accurately interpret what their true intent is and whether or not they dislike or like something . thus , the invention observes behavior versus click actions . current technologies focus on clicks , such as web link clicks . if a person clicks on a link , that click is reported . the click may be reported as having resulted in a viewed web page , even though not much time is spent on the page on which the person clicked . thus , this known approach is not a good indication one way or another if the page is good or bad . if a link is put in a prominent position on a web page , then people are likely to click on it . however , when people get to the location indicated by the link , they may immediately leave the site . this is why the number one used button on the browser is the back button . the use of the back button could indicate like or dislike of a site . accordingly , the invention recognizes that it is the action of the user after the click that matters and not the click itself . the invention tracks behaviors beyond the click to determine whether a page is good or bad . thus , if a person backs out of the page , it is considered negative feedback , i . e . the person did not like it . in this way , clicks can identify a very negative reaction in the invention . if a person goes to a link , follows the link down , spends time there , and does other things , that behavior is tracked as well . if a peer group validates the behavior as consistent , e . g . a significant number of the group members exhibit the same behavior when reacting with the page , then the page is considered to be a good page . an embodiment of the invention goes one step farther . not only does the invention determine which assets are useful based on behavioral fingerprinting , but it also learns the context associated with the usefulness . for example , the invention can learn that a particular camera page is very useful for users that show interest and intent in high definition cameras , but not if the intent is compact cameras . in this way the affinity engine is able to distinguish the usefulness of assets based on the context and intent expressed by a user through their implicit actions . the primary input to the affinity engine , which drives all of the learned associations ( affinities ) is the behaviors of users on the site . in the preferred embodiment , all behaviors are captured by the observertag , i . e . a piece of html / javascript embedded within the web site , typically in a header or footer template . although this is the preferred method for capturing user behaviors , it is also possible to capture user behaviors using a browser plug - in or lower - level network traffic analyzer . the behaviors captured include : pages visited and in what order time spent on each page links clicked searches performed time spent scrolling on a page portion of page visible in the browser window , and for how long page sub - elements opened / closed media launched , time spend viewing that media , and explicit action taken on the media use of the back - button repeated visits to a particular piece of content mouse movement while on the page ads viewed and ads clicked explicit actions , e . g . add to cart , purchase , email , save , print , print preview virtual print : content returned to frequently over the course of several hours or days virtual bookmark : content left open over multiple hours or days with intermittent periods of activity entrance and exit paths the captured information is send back to the affinity engine for processing . fig9 shows the process for analyzing these behaviors or other implicit data captured from various user interface devices . the input to this process is the user trail 901 which includes all assets visited and the implicit ( and explicit ) actions observed on those assets . there are two main steps in processing the behaviors that combine to provide an understanding of what content is useful and in what contexts . the first step is determining whether a user is finding value ( usefulness ) in a particular piece of content . conceptually , the more time spent on the page in think mode , i . e . user is processing the information , the higher the likelihood that it is useful . think mode can be approximated by non - scrolling time on a page , where some scrolling or mouse - movement has been detected with a specified time range . repeat visits and percentage of page seen are also generally good indicators of liking or usefulness . for each user and piece of content , we can create a behavior vector 902 with each entry in the vector representing one of the features listed above or a predefined combination of features . however , not all content is created equal nor are all users created equal . we normalize the behavior vectors in a several ways . first , we normalize by user to make behavior vectors comparable to the rest of the user population 903 . for example , some users may read slower than others , affecting their mean time spent on a page . some users may use the mouse more than others . one way to accomplish this normalization is by translating all entries into z - scores which adjusts for means and standard deviations specific to that user . a second normalization is to normalize based on the content . this is done based on inherent or specified properties of the content . for example , 30 seconds spent on a one paragraph document likely has a different meaning than 30 seconds spent on a ten page document . dwell time can thus be normalized based on page length or number of words . similarly 30 seconds spent viewing a 30 second video has a different meaning than 30 seconds spent viewing a five minute video . in many cases the observer tag is capable of capturing these page characteristics through information within the dom ( document object model ). however , when not available in the dom , the invention provides other mechanisms for collecting the needed information from offline catalogs , e . g . a product or media catalog , or allowing the web site designer to add explicit information in the page itself , e . g . as meta - tags or added javascript variables . for example , on an e - commerce site , certain pages may be defined as information versus product pages . the system can normalize the behavior vectors for each of these content groups independently . in this way , the dwell time necessary to indicate liking can be adaptable to the type of content . all behaviors ( features ) can be made adaptable in this way . in the current implementation , these normalization strategies are hard - coded . however , the invention allows the possibility for plugging - in various machine learning techniques to learn the appropriate normalizations . we now have a behavior vector normalized to the user and the content 904 . in the current system , a predefined set of rules are applied to determine whether this behavior vector represents liking / usefulness . each of the normalized features , in turn , is considered to determine whether it meets the pre - specified thresholds for indicating usefulness . each passing feature increases the probability of usefulness 905 . in some cases , the thresholds for a given feature are pre - specified and tuned by the person implementing the system based on previous experience . in other cases , these thresholds are dynamically determined by the system . for example , certain features are known to exhibit a bimodal distribution and the threshold can be dynamically determined to lie between the two modes . the invention also provides a mechanism for plugging - in various machine learning techniques to learn which features are most important , and thus dynamically learn the rules for converting from the behavior vector to the probability of usefulness . once usefulness , or probability of usefulness , has been determined , the second step in the analysis of behaviors is to understand the entire context surrounding the use of that piece of content , including searches done prior to the use , links clicked prior , and pages used prior . all of this information combines with information about the user to influence affinities 906 ( affinities can be learned and stored in a number of ways , described in more detail in u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 ). before doing so , however , there is one final step : validation . validation is a form of noise filtering wherein an affinity connection is established , e . g . between a document and term , if and only if enough similar users have , through their behaviors , confirmed this connection . one user making the connection is not enough for an affinity to emerge . a minimum number of users in the same context ( peers ) must have exhibited similar behaviors and connections for that affinity to be validated . we call this peer - validated behavior . userank ™, the ultimate ranking of the usefulness of content based on a user &# 39 ; s context and intent , based on learned affinities and full - spectrum behavioral fingerprinting , can be compared to the very popular pagerank strategy made famous by google . in pagerank , each web page is given a value based on the number of other pages linking to it . in addition , links coming from pages that are themselves of high value raise the pagerank even more . this democratic strategy is quite effective in getting users to useful web sites based on their google query , but generally breaks down once the user begins to look for further information within the web site itself . the main reason for this is that pages within a web site , particularly those down into the long tail of content , are not heavily linked to either externally or internally . internally , the linkages are determined solely by the structure of the web site and more links does not necessarily mean more value . in addition , many of the pages on such sites are in formats other than html , e . g . pdfs , word docs , or videos , and do not link to other content at all . the userank methodology , based on user behaviors on the web site alleviates all of these problems . instead of relying on the linking of documents by web designers , it relies on usage of documents by web users , who are a rich source of information on any web site . usage is a truly democratic way of learning what content is most valuable . in fact , the designers of pagerank recognized their approach as an approximation of user activity . google &# 39 ; s choice to approximate user value based on pagerank makes sense given the privacy concerns associated with tracking a user &# 39 ; s behavior across the entire web . in the preferred embodiment of userank , we track only the behaviors of user &# 39 ; s on sites instrumented with the observer tag , and always in an anonymous fashion unless otherwise configured by the web site deploying the observer tag . another important aspect of the invention emerges from the context - driven approach underlying the affinity engine . many previous systems that are content - centric or user - centric suffer from a problem where only the most popular product / content is ever recommended . because these systems lack a deep understanding of the user &# 39 ; s current context / intent , this is the best that they can do . the invention provides a context - centric approach that allows the affinity engine to narrow its focus to the subset of users ( peers ) and content that match the current user &# 39 ; s context / intent , even if that intent is not particularly popular in the grand scheme of things . this is what is known as the long tail of the products , i . e . those products that may not be the most popular overall , but are extremely important because they strongly meet the need of a small but important subset of the community ( see c . anderson , the long tail : why the future of business is selling less of more , hyperion press ( 2006 )). the invention is capable of identifying that long - tail interest along with the associated peer group and related content and can thus recommend those important long - tail products / content at the appropriate time ( see fig1 ). this is critical for product / content providers because it is often these long - tail products that are most useful to the community and often lead to the highest margins or benefits for the company itself . thus , the invention uses like - minded peers as an enabler to target small target segments along the long tail , instead of using individual problem personalization and historical interest as known in the prior art . the invention provides contextual targeting . people &# 39 ; s needs within a given context are typically similar among like - minded people . an insight of the invention is that people have hundreds of profiles , if not thousands of profiles . these profiles have no cross connections to reality , so it is difficult to predict an individual &# 39 ; s use level without context . once the individual is in a particular context , i . e ., among like - minded peers , the individual behaves similarly to everybody else within the group context . thus , if a person is visiting a golf equipment site to buy a golf driver or clubs , the person behaves in a manner similar to other golfers . it does not matter what the person &# 39 ; s political bias is , or their cultural background . these aspects of the individual have no relevancy because the person &# 39 ; s present context , which is based upon group membership , is more relevant . the invention represents a new approach to leveraging implicit community wisdom to create adaptive web sites and other information portals . in his book , the wisdom of crowds , james surowiecki explains how the collective intelligence of a large group of average individuals almost always outweighs the intelligence of experts . to illustrate the concept , he uses an example from a county fair , where a group of fair attendees attempted to guess the weight of a cow . a group of so - called experts , e . g . butchers , dairy farmers , etc ., also made their guess . in the end , the experts were all off on their guesses by a large amount . the average weight guessed by the crowd of non - experts , however , came within one pound of the actual weight of the cow . surowiecki goes on to show how a similar phenomenon can be seen in everything from stock market prediction to democratic governance . this notion that groups of individual actors can collectively exhibit a level of collective intelligence going beyond even the sum of the individual actors themselves has been known in the fields of biology and artificial intelligence as emergent behavior and collective intelligence . numerous examples exist in nature where very simplistic individual animals , such as ants or bees , in collection exhibit extraordinary intelligence and resourcefulness in meeting the needs of group , such as finding food or building nests . in the context of web site design , surowiecki &# 39 ; s experts are the web designers . these experts attempt to make correct decisions on which web pages should be linked to what others , such that visitors are best able to find what they are looking for . web designers may also spend a lot of time an effort tuning search results to match the expected needs of their visitors . the crowd in this context is the large group of web site visitors who come to the site . generally , the crowd has no direct impact on the organization of the web site . they remain silent . the invention gives this crowd a voice , enabling their collective actions , i . e . a form of expressed opinions , to be collected and automatically drive decisions on web site organization through their impact on recommended content . the invention thus taps into the wisdom of the crowd for the purposes of creating useful web sites . although in the preferred embodiment , the impact of crowd wisdom is sectioned off into specific regions of recommendations and social search within the web site , it is easy to imagine an extended implementation where the entire organization of the web site , all of its links and menus , for example , are ultimately driven by and adapted to the behaviors of the web site visitors . in this way , the entire internet made up of multiple interconnected sites could begin to evolve and adapt into a form that best meets the needs of internet users . fig1 provides a wisdom of crowds pseudo - equation showing how context / intent can be incorporated in a generalized way to extend the wisdom of crowds concept , as exemplified by an embodiment of the invention . in this pseudo - equation , each user &# 39 ; s implicit vote is weighted according to the similarity between the current user &# 39 ; s context and the context in which a user made that vote . this equation could be further extended to incorporate similarity between users . when all contexts are identical , this equation correctly reduces to a simple average . the actions of the affinity engine can also be considered as a form of memory prediction machine . recent learnings from cognitive science teach that the brain is structured to capture and encode associations between and among objects and concepts in targeted regions of memory , and organize those associations in a hierarchy moving from abstract to detailed . new stimuli are responded to and their consequences predicted , based off of the memories created from previous stimuli and learned associations thus encoded . the affinity engine similarly learns associations between users , objects , and contexts by observing interactions between them in the environment of web sites and remembers those patterns in its memory , stored hierarchically . when a user exhibits a context that has been previously learned by the affinity engine , it lights up the appropriate associations within memory which triggers the prediction of those objects that best meet the needs of the current user and context . fig1 is an architectural schematic of the affinity engine in its function as a memory prediction machine . an important aspect of the invention is its ability to integrate seamlessly with other recommendation systems , policies , and information sources . some examples are shown in fig3 . when a user performs a search on a site implemented with the invention , the search terms are sent to the affinity engine for processing . the affinity engine determines the set of content that is most useful given the context of that search , based on learned affinities from past community behaviors . however , the affinity can also take into account opinions from external sources , such as a search engine . the search engine 301 has its own set of recommendations which the affinity engine can accept . the relevance ratings from the search engine can be combined with the information embodied in the affinity engine to produce a single unified set of recommendations ( discussed more fully in u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 ). an xml feed is a typical way for the system to interface with a search engine . the invention also provides a mechanism for automatically importing product or media catalogs 305 . the preferred means for doing so is using an xml feed that is accessible to the system . there are three ways in which the catalog can be used : 1 ) information from the catalog may be displayed along with the recommendations , e . g . summary or price ; 2 ) attributes from the catalog may be used to filter the result set , e . g . the web site designer may want to restrict recommendations to products only or pdfs only a particular section of the web site ; 3 ) content categorizations can be used to group content for the purposes of normalization in the behavioral fingerprinting process described above . another aspect of the invention is that it is content - agnostic . the system can observe behaviors on and recommend web pages , pictures , videos , documents , blogs , downloads , and even ads . in the case of ad recommendations , it is often necessary to integrate with an ad server . ad servers 303 can provide functionality similar to both search engines and catalog systems as described above . the invention interfaces with ad servers in the same way as it does to these , typically through xml . merchandizing systems 304 in the general case provide a mechanism for the web site owners to influence what products / content are recommended to users . in the invention , it is preferred that the community be the primary driver of recommendations . however , there are times when the owners have specific needs that must be met independent from the community &# 39 ; s expressed interest . for example , the owner may choose always to recommend a particular product or piece of content first in a particular context , for example , there may be a promotion going for a product . owners may also wish to influence the community to purchase products with higher margins , or prevent a certain piece of content from being recommended . there are two ways in which the invention can honor such influence . the first is through a custom rule interface that is one component of the invention . here , web site owners can log in and choose from a variety of predefined rule types including pinning , i . e . forcing a particular recommendation to show up ; blacklisting , i . e . preventing a given recommendation or class of recommendations from showing up ; and boosting , i . e . increasing the chances that a recommendation or class of recommendations show up , but still honor the community wisdom . all of these rule types can be applied globally or only in a given context , e . g . on a particular page , for a given search term , for a given class of users , in a particular time range . another type of rule allows owners to honor fully the community wisdom , but influence the goal of the recommendations . for example , rather than focusing on recommending useful products , the affinity engine can be told to recommend products that a user is most likely to purchase . as another example , the affinity engine can be asked to recommend content that most likely leads users to a particular set of target pages . in addition to the custom rule interface , the invention provides a mechanism for importing rules in xml form from an external merchandising application . when rule types exist in the external system that do not already exist within the invention , a custom rule plug - in can be designed for the invented system which matches the desired behavior of the external rule type . a further type of system that the affinity engine can integrate with is user profiling systems 302 . in its simplest form , a profiling system is a set of attributes , e . g . demographic attributes , associated with a user . these attributes can be passed along to the affinity engine on a recommendation request . as discussed earlier , the affinity engine can take these attributes into account when identifying a peer group , which then influences the recommendations that are returned . more sophisticated profiling systems require xml integration similar to other external components . here , the affinity engine may have to dynamically contact the external profiling system during the peer identification process . in the preferred embodiment of the invention , a recommendation system is implemented in a software as a service ( saas ) model to provide automatic suggestions that help web site visitors find products or content they like or need . fig2 is an architectural schematic diagram of a method and apparatus for context - based content recommendation . in fig2 , interaction of users with a web site produces implicit emergent behaviors . such user interaction includes page referrals , links , entry trails , queries , page sizes , mouse movements , peers , negative experiences , virtual bookmarks , time spent , virtual printing , exit trails , and the like . such behaviors are processed in a recommendation / affinity engine according to the invention , resulting in automatic content and product recommendations in the form of social search and navigation guides , as well as providing real - time feedback to a merchant such as regarding visitor clubs , and identifying content gaps ( each of which is discussed in greater detail below ). the following key processes comprise the recommendation system : capturing implicit behavior — the implicit web site behaviors 201 that serve as input to the recommendation system are captured client - side by small snippets of javascript code embedded within web site pages , e . g . through a web site template . the behaviors are then sent to the remote recommendation engine where they are processed using the full - spectrum behavior fingerprinting technology described herein . distilling collective wisdom — the recommendation / affinity engine 202 processes all incoming information to identify emerging intent among web site visitors and captures the collective wisdom of the crowd . the recommendation engine identifies and learns affinities between and among users , content , and terms , identifying consistent patterns of behavior and removing noise . the affinity engine also recognizes and adjusts in real time to changing fads and trends , as well as cyclical patterns of behavior , such as seasonal patterns , and other shifts in user interest . delivering recommendations and search results — when a visitor arrives at a page , the recommendation engine is passed information about the users current context , either by snippets of javascript on the client , called recommendation tags , or by the web site server , and a request is made for appropriate recommendations . the recommendation engine translates the user &# 39 ; s context into intent using the technology described in this application , identifies the appropriate group of peers , and ultimate returns with a set of content recommendations 203 ordered based on the their computed userank ™. these recommendations are then displayed within the webpage on the user &# 39 ; s browser . these recommendations may take the form of navigation links or enhanced search results . when delivering recommendation results , the recommendation system may additionally contact other external services , such as the web site &# 39 ; s full - text search engine , product catalog , or an ad server ( see fig3 ). customer portal — in the preferred embodiment , owners of the web site also have access to information and patterns learned by the recommendation engine through a customer portal called insights 204 . the customer portal provides the ability to configure the recommendation system and add merchandising rules , as well as view a set of reports providing information on the usage of the web site by the community and the patterns of behavior and affinities learned by the system . fig1 shows a screenshot of the customer portal homepage in the preferred embodiment . many different reports and configurations are accessible using links within this portal . for example , the invention allows for product / content gap detection , where gaps are detected based on usage patterns on the site and site owners are helped to introduce new products or content in those areas where the gaps are detected . as another example , the customer portal also provides the web site owner with a set of reports to track the ongoing value that the recommendation engine is brining to the web site . fig1 shows a screenshot of an a / b report that tracks the revenue lift due to the presence of recommendations on the web site . the inventors have consistently seen revenue improvements of 20 - 30 % or more . other lift reports available within the portal include improvements in page views , engagement time , site stickiness , average order value , and user conversion to specified “ business targets ” within the web site . fig1 is a screenshot showing community - guided e - commerce . in fig1 , five different capabilities of product recommendations are presented : 1 ) comparative products , also known as similar or competitive products , are shown for purpose of comparison shopping and up - selling based on affinity of like - minded peers on their product considerations , i . e . observed full - spectrum behavioral finger prints discussed earlier . consideration - based peer recommendations promote higher end / niche products , and yield more revenues and profits for a site . 2 ) affiliated products are also shown for cross - selling related / non - competitive products such as accessories to increase overall order size . 3 ) the invention also provides a showing of most popular products , such as products with greatest appeal across the whole site or within a category . 4 ) the invention also generates intent - driven landing pages , also known as adguide and site concierge , with recommendations based on what a visitor searched on standard web search engines such as google , yahoo or msn . if a visitor search “ viking cooktop ” on google and landed on a customer site , adguide serves the best viking cooktop recommendations to the visitor on the landing page dynamically instead showing him something irrelevant . 5 ) the invention also provides a community filtered search on products based on the foregoing . for peer - driven recommendations , the invention automatically identifies small and large population segments having a unique interest and guides individuals to popular , competing , and accessory products . the invention provides a user intent and product mapping that translates shoppers &# 39 ; intent into peer - validated products and brands . the inventors have found a 700 percent conversion power based on independent studies . the invention provides fad and trend detection and recognizes and adapts to seasonal , promotional , and other shifts in shopper interest in real - time . the invention also allows for product gap detection , where product gaps are detected and site owners are helped to introduce new products or content in those areas where the gaps are detected . the invention assists in merchandising with real - time customer feedback . it works with existing merchandising , promotions , segmentation and search , and magnifies products or product families . the invention provides built - in concurrent a / b measurement and reports in real - time the net revenue generated by the invisible crowds . fig1 is a screenshot showing community - guided product search with a travel example . in fig1 , the user has queried for hotels in new york city . as a result of similar users of this web site for similar purposes , and by observing how the users have made use of the information returned , recommendations are made to the person with regard to hotels to select within new york city . the search results are far more effective and relevant based on like - minded peer interests and intent instead of showing many irrelevant results by simply matching keywords or metadata , in this case “ new york hotels ”. fig1 is a screenshot showing community - guided marketing and online lead generation . as with the e - commerce application , five different capabilities are provided to a marketing web site . 1 ) aspects of this feature of the invention include a social search which involves userank ™ and implicit learning . this approach is intent - driven , adaptive , and makes use of an implicit folksonomy , community terms such as link - text they use and search queries they enter , as discussed above . the invention supports audio , video , binary code , and all other content types because it does not have to parse the content itself , whereas a typical search engine has to , therefore is limited to text content and metadata only . 2 ) the invention also provides related or similar content based on the implicit behavioral feedback of like - minded users . the invention ranks the recommendations by usefulness and on - target - ness , based on the context and intent . 3 ) the invention also provides a most popular category , which provides content with the greatest value across the whole site or sub portion of the site . this promotion of information leads to business target conversion increases such as trial / download / registration conversions and may be provided at a site or topic level . 4 ) a next step feature is provided that concerns common next steps that lead to customer conversions . the next step may be any next step in a business process or a natural next set of content to read in connection with the process . 5 ) a similar intent - driven landing page , as with the e - commerce application discussed above , is available for a marketing web site . fig1 is a screenshot showing social search according to the invention . in the example , the search is made for storage devices . users are provided information with regard to whether the information is on target and for how many visitors , and popularity rating and a community rank , i . e . userank ™. an on - target value is also provided along with the results . further , the results are sorted by usefulness , based on information within the affinity engine . the original keyword rank from ir or full - text search engine is also provided as a before - and - after comparison . in this example , if the userank ™ is not used , this good piece of primary storage product information would have been buried as rank 87 , i . e . the seventh result on the ninth search result page , and no one would be able to find and use it . the userank ™ has moved it to the third position on the first page in the search results . at the interface level , a raw results link is provided to give the users the original results if this invention were not used there . this is another way to see before - and - after impact of the userank ™. fig1 is a screenshot showing community - guided online support to promote self - service and satisfaction among the customer base . the page shows top issue resolutions , including most helpful articles , a top faq , and help forum , and blog articles . the page also shows related help , including in - depth articles on the subject , alternative solutions and , finally , reminders . further , common next steps are provided , including natural next steps for resolution , common downloads , and additional support information and contact information . finally , the invention shows social search , which is a key aspect of this embodiment of the invention , based on userank ™ and implicit learning . thus , social search is intent - driven and adaptive , makes use of the implicit folksonomy , and supports all content types . other good support applications for this use include knowledge management ( km ) portals , community forums and discussion threads , chats , wikis and developer &# 39 ; s networks , etc . fig2 shows a community - guided intranet and knowledge portal . in this example , social search is used within an intranet . the search returns related pages , which include similar pages on the topic , the pages are proven by the past experience of peers , and serendipitous discovery is enabled . further , the search filters out low value content . the invention also provides most popular search results , which includes content with the greatest value , top applications within the company , and information specific to a department or cross - company information . finally , the invention provides next steps , including where people go from this page to meet their goals , a next step in the business process , and the next set of content to read on the topic . extranets , such as physician - patient portals , dealer net , customer portals , are other applications examples . fig2 shows recommendations implemented on a media site , and fig2 shows social search implemented on a media site . fig2 is a screenshot showing community - guided media and cross - site contextual recommendations . similar articles and blogs are recommended based on similar contexts . if you are reading a tiger woods golf story , three other related tiger news , based on other similar peer interests are promoted to the same visitors . the visitor gets more content and satisfied . the site get higher cpm and cpa , both of which are current industry measures of visitor conversion rates and site value from advertising perspective . userank ™, also known by baynote as brandrank ™, can also be used to re - rank the ads and product on the media , instead of placing ads or products randomly or based on keyword match . ads validated by peers have significant higher cpm and cpa values , and therefore increase revenue for the media sites . in addition , the information contained in these various sources is applied to the affinity engine , which discovers cross - site affinities among the various sites . the result is to provide targeted content and products . fig2 is an example of the invention being used to recommend video content . as discussed in this application , the invention is content agnostic and is able to learn affinities between term , users , and content based entirely on implicit user actions . fig2 shows a screenshot of an implicit topic cloud . another application of the invention is to collect and display the community vocabulary or terms . on the surface , the topic cloud may appear to be similar to explicit tagged cloud such as deli - cio - us , social bookmarking , etc . but the key difference is the implicit - ness . implicit topic cloud is built based on the actual user &# 39 ; s activities on the site , i . e . the queries they entered and link - text they used . actions speak louder than words . the implicit topic cloud reflects in the interests of 100 % of the site visitors , not the few loud visitors who are willing to tag things . the silent majority is the key to collect true wisdom of the community . fig2 shows an architectural view of an integration between the invention and an adserver . to serve the best ad to a user , the integrated system first contacts the existing ad server to get a list of acceptable ads to display to the user given demographic or other information . this list is then sent to the affinity engine which , based on learned affinities between the ads , users , and context , chooses the best ad to display to the current user . this allows the ads served to be appropriate both to the user , as well as the user &# 39 ; s current context and intent . there are many ways to leverage the community wisdom distilled by the recommendation engine , in addition to social search and onsite content / product recommendations . many applications can be built or modified to directly tap into this wisdom through apis to the recommendation engine . fig4 is an architectural diagram showing the invention &# 39 ; s role as a community wisdom platform . the community - wisdom platform can also include such items as contextual email marketing , mobile applications , iptv systems , seo / sem applications , and mashups in custom applications . within these systems , input from the recommendation engine can be used to dynamically determine the most appropriate information and / or organization of information to present to users . such a platform is built upon web services that include such features as ajax and rest ( discussed below ). thus , the invention is built upon new web 2 . 0 fundamentals , which include a true understanding of invisible crowds , gathering information from like - minded peers , making content or product recommendations , providing onsite social search , implicit community - based reports , and the like . the following descriptions give details on how they are deployed : email recommendations : marketing uses massive emails to communicate with customers and prospects . but the content of the email campaign is typically determined by the marketing staff . the invention enhances the quality of email campaigns by crowd - sourcing the like - minded peers . the content of the emails are determined by what &# 39 ; s popular or similar to what the like - minded readers of the emails are interested in . marketers simply facilitate the process of letting one customer promoting content to another customer implicitly . mobile recommendations : the quality demand of mobile recommendations is even higher than the web due to the small footprint of mobile devices , such as cell phones and personal devices . the invention &# 39 ; s like - minded peer and intent driven approach is better than traditional approaches based on collaborative filtering , page views , and demographic or purchase data . intent / context driven peers predict people &# 39 ; s need far better than the competing approaches . iptv recommendations : similar recommendations are effective for using digital tv / hdtv to watch internet delivered movies and video programs . with thousands of movies and tv program selections , features like “ you may also like these movies ” are extremely important for up - sell and cross - sell movies and tv programs . context - driven peer recommendations are the most effective way for the viewers to like the recommendations . live connect : fig2 shows an architectural view of the live connect system . because the invention can identity like - minded peers , in addition to harvest their collective wisdom implicitly and to make peer recommendations to individuals , the invention can connect the individuals with the like - minded peer group and have them exchange information , knowledge , and experience . this is similar to the real world experience of like - minded peers who may not know each other . imagine you are in best buy shopping for a tv , you see other like - minded peers also shopping for tvs , you can ask them questions for their experience of certain products . seo / sem recommendations : the invention is also used for guiding web site visitors at the moment of landing on the site . the features are called “ adguide ,” “ site concierge ”, and “ site maitre &# 39 ; d .” this application examines the queries that people have searched on google , yahoo , msn , ask , and other major web search engines , then uses them as the proxy of user intent to display the right product or content for visitors when they land on the site , either on the pre - designed landing pages ( sem ), or natural search result pages ( seo ). for example , if a visitor search “ viking cooktop ” on google and landed on a baynote customer site , adguide serves the best viking cooktop recommendations based on collective interests of like - minded peers to the visitor on the landing page dynamically instead showing him something irrelevant or less important by simply matching keywords . based on the affinities learned by the affinity engine , the invention is also able to provide a keyword recommendation system that provides suggestions to marketers on which keywords should be purchased on external search engines as part of their seo / sem efforts . for example , the invention can suggest those terms that the community uses most often to describe content on a web site , as well as those terms which are most likely to lead to useful content within the site . also , given a particular collection of keyword already purchased , the invention can suggest other words used by the community that have high affinity to the existing set . these recommendations can be provided to seo / sem merchandisers either through reports within the customer portal or can be directly integrated with external seo / sem systems to bid on the recommend keywords dynamically and automatically . blogs , forums , and discussion threads recommendations : the invention is used by community generated content such as blogs , forums , discussions , pod casts , video content , etc . because of the volume of content involved , surfacing the right content in the right order is even more important than expert - generated web sites . using like - minded peers for recommendations and social search is extremely important and effective . these web sites can be public facing blog sites , or login - required sites such as partner portals or patient - physician portals , or developer &# 39 ; s networks , or intranets . features such as “ similar content ,” “ accessory products ,” “ next steps ,” “ most popular ” and social search are very useful and effective . insights ( visitor clubs , content gaps , etc . ): insights , the customer portal , has already been discussed in part earlier in this application . although a primary use of the invention is as an automatic recommendation system , there are times when site administrators may want to modify the behavior of the recommendation system or see reports based on the knowledge learned by the affinity engine . insights currently offers three main categories of functionality though its ui : configuration , management , and reports . configuration enables site administrators to configure fully all aspects of the recommendation engine required for full functionality and deployment , including integration with external sources of information such as full - text search engines and ad servers . management enables site administrators to modify the behaviors of recommendations and social search in a holistic manner or specific to defined contexts e . g . a particular search term or page location or user . for example , administrators can create product / content promotions to override community wisdom for set periods of time , blacklist particular products / content from being recommended , artificially magnify or boost defined classes of products / content , or set up business rules such as limiting the classes of products / recommendations acceptable for recommendation in particular contexts . reports offer various views on the community wisdom distilled by the affinity engine . although the reports include a subset of the click - based and purchase - based information found in traditional analytics , they go beyond these in providing many details on the community wisdom distilled through full - spectrum behavioral fingerprinting and the connections learned by the affinity engine . example reports are discussed below . the content gap report uses the affinity engine to analyze those user interests that are not being met by the existing content on the site . using the full - spectrum behavioral fingerprinting technology , and by analyzing community behaviors as discussed earlier in this application , the affinity engine can identify community interests . the affinity engine can then analyze all cases in which a particular interest was expressed by a user and the subsequent behaviors of that user , including use of content and level of value extracted , as well as subsequent searches or exits . if a large portion of the user population with a particular interest is unable to find useful content , then that interest is designated a content gap . the degree to which the gap is suspected by the affinity engine can also be reported . the administrator can then take necessary actions to remedy the gap by adding new content and then continue to use the content gap report to see the effect on the presence of the gap . the visitor clubs report provides the most comprehensive view on the affinities learned by the affinity engine . visitors to the site are implicitly grouped based on shared interest . each interest group , or visitor club is displayed in the interface along with the number of visitors in the club , their overall activity level , the virtually folksonomy of terms that describe the club , and the content / products which are most useful to that club in the context of the club &# 39 ; s interest . in addition , all club characteristics can be charted over time to gain an understanding of how the interest is trending over time . clubs can also be compared to one another for overlap in membership . this report provides administrator with the ability to explore the learned associations between users , content / products , and terms / contexts . such associations can then drive promotions or other merchandizing activities within the management section of insights . the visitor club information can also be used to drive various business decisions outside of the context of the invented system . fig3 is an architectural schematic diagram showing affinity engine integration according to the invention . in fig3 , a current user exhibiting an observable behavior within a particular content site , such as current location and / or search , based on previous action , or user properties , accesses the affinity engine , which includes assets / products , users , and terms , all arranged in groupings based on affinities . the user is provided with asset recommendations in connection with products , categories , information , media , and the like . the affinity engine is populated by site owners who provide administrative input and exert administrative influence . the information provided by xml / direct input . the administrative input and influence filters , constrains and seeds the affinity engine , applies merchandising rules , and expresses goals , for example , likely use or likely purchase of a particular product . asset information is also provided in the form of xml information , for example , a product catalogue or a full - text search facility . the affinity engine collects implicit observations from the visitor community to make such asset recommendations to a current user . these implicit observations include asset actions , such as time spent on a page , scrolling , mouse movements or clicks , page interaction , and virtual printing or bookmaking ; asset navigation and asset navigation patterns , including , for example , entrance path , exit path , links used , repeated visits , and frequency visits , use of a back button , and recommendation use ; and visitor - community searching , including terms entered and / or reentered , results clicked , results used , and subsequent navigation . fig2 is a block schematic diagram showing the system architecture of a preferred embodiment of the invention . a more detailed discussion of various aspects of this architecture is provided below . to understand fig2 in greater detail , reference may be had to applicant &# 39 ; s copending u . s . patent application ser . no . 11 / 319 , 928 , filed dec . 27 , 2005 , which is incorporated herein in its entirety by this reference thereto , and which describes , in greater detail , a preferred system for use in connection with the invention herein . the architecture consists of a server farm 20 , a customer enterprise 22 , and a user browser 21 . the user browser is instrumented with an extension 23 and accesses both customer servers 25 at the customer enterprise 22 and the server farm 20 via a load balancer 27 . communication with the server farm is currently effected using the https protocol . user access to the customer server is in accordance with the enterprise protocols . the browser extension 23 is discussed in greater detail below . of note in connection with the invention is the provision of a failsafe . the extension 23 , as well as the enterprise extension 24 , are constructed such that , if the server farm 20 does not respond in a successful fashion , the extension is shut down and the enterprise and browser interact in a normal manner . the features of the invention are only provided in the event that the server is active and performing its operations correctly . therefore , failure of the server does not in any way impair operation of the enterprise for users of the enterprise . as discussed above , an extension 24 is also provided for the enterprise which communicates with the load balancer 27 at the server farm 20 via the https protocol . the enterprise also includes a helper 26 which communicates with the server farm via an agency 31 using the https protocol . the agency retrieves log information from the enterprise and provides it to log analyzers 28 , which produce a result that is presented to the usage repository 29 . the agency also communicates with any data sources accessible to the enterprise for the purposes of loading information into the affinity engine 32 . such information includes catalog database information , use profile data , authentication data , as well as any other form of data that may be useful for the purposes of determining or filtering recommendation and search results . information is exchanged between the affinity engine 32 and the browser and enterprise via various dispatchers 30 . the browser itself provides observations to the server and receives displays in response to search or recommendation requests therefrom . alternatively , the customer server 25 can directly request search or recommendation results directly from the affinity engine 32 through the baynote extension 24 using rest . a key feature of the invention is the affinity engine 32 which comprises a plurality of processors 33 / 34 and a configuration administration facility 35 . during operation of the invention , a form of information , also referred to as wisdom , is collected in a wisdom database 36 . the preferred embodiment of the baynote extension 23 uses a custom - build tag - based ajax - architecture for collecting website behaviors from the client as well as serving recommendations to the client . fig2 provides code snippets for javascript integration with a client . fig3 is a block schematic diagram showing an ajax tag platform according to the invention . in fig3 , a web page is displayed on a client and includes a particular script . in this example , all files and results from the system are dynamically injected into the doms as & lt ; script & gt ; elements . a coordinator on a trusted web server provides such things as a failsafe mechanism , common code , a policy , handlers , and communication facilities . a system server provides such elements as a heartbeat , common javascript , policies , handlers , such as an observer and a guide , and the affinity engine . in fig3 , the coordinator is a piece of code that sits on the trusted web site . in the presently preferred embodiment , the coordinator resides on a customer &# 39 ; s web site . thus , there is a file that serves as coordinator role and that resides on a particular customer web site , although it could reside on any other trusted web site . this aspect of the invention concerns the notion of a trusted web server for failsafe reasons . it is important to be certain that if the invented system crashes that it does not crash or hold up the customer web site . thus , a coordinator code is provided as a failsafe procedure . it goes through a failsafe procedure to ensure proper recovery after a crash of the server &# 39 ; s web site . the architecture of the code is broken down , such that common code is used . common code or a piece of the code is used for all types of recommendations . thus , a tag might require common code . the policy may be customer specific or it can be user specific . this concerns how recommendations may be made . the policy information is loaded separately . then , the code needed for specific tags is loaded as well . for example , if there is a tag for the most popular recommendation , and another one which is the recommendation , then these tags are loaded . the system then loads the code that is necessary for performing the particular tagging operations . a further type of tag or code is the observer that observes what users do , as discussed above . users do not see the tag , but it is still a tag . the tags must also be able to communicate back to the system . each of these functions is performed by a piece of code , for example javascript , is loaded into the web page . the javascript is loaded into the page through a dynamic script injection . this aspect of the invention recognizes that a web page can become more dynamic . for example , there are things such as dynamic html and javascript which cause things to be added to a page dynamically . if a script tag needs a particular piece of information , then that code is injected into the page . for example , if a policy is needed , then a javascript tag is injected into the page that accesses the policy . the policy may require further injection of information , such as handlers . therefore , the handlers are now dynamically injected as pieces of javascript into the page . communications are handled in a similar matter . one advantage of the foregoing approach is to provide the option of using first - party cookies or third - party cookies . the main web page that the customer accesses may be the web site of a merchant . the merchant communicates with the system to get the information with regard to recommendations and the like . in this case , the merchant is the first party and the system is a third party . as a result of dynamic script injection , the invention allows the setting of cookies in both the first - party domain and in the third - party domain . the ability to set first and third - party cookies also allows the invention to operate in a cross domain . although the invention is described herein with reference to the preferred embodiment , one skilled in the art will readily appreciate that other applications may be substituted for those set forth herein without departing from the spirit and scope of the present invention . accordingly , the invention should only be limited by the claims included below .