Click tracking refers to recording user click interactions alongside search results. This is usually the successful search outcome customers use to power machine learning.
Click token records an interaction for the query-result pair when an end-user enters a query and clicks on a search result.
Using data generated from click tracking, machine learning can update relevance scores and improve results.
Click tracking is inbuilt and pre-configured for standard Site Search integrations. E.g. for search interfaces created using our React client or the Search Interface Builder in the Console.
Documentation relating to click-tracking for customers using our API can be found in relevant API clients.
Testing click tracking
Note: These instructions are for testing "Search Interface Builder 1.4" using Google Chrome.
- To test click tracking, on a search results page in a browser, open the developer tools by right-clicking and choosing "Inspect" or
CTRL + SHIFT + I.
- Navigate to the "Network" section and click the checkbox to "Preserve log".
- Enter a new search query in the interface, and then press enter. Once the results have rendered, press "Clear" (next to the red recording button) to make it easier to find the click request.
- Click on any search result to navigate to the result destination page and list all the requests that the browser made while fetching the page.
- Still in the Network tab, search for "www.sajari.com/token" among the request Headers. The request will be a hashed code with the Request URL beginning "https://www.sajari.com/token/". When this is present, a token has been generated and recorded.