Suggest Tracking

Tracking can also be added to the FACT-Finder Suggest module to enable analysis of user behavior and corresponding optimization measures.

Usually the tracking is already contained within the example script you can receive from Omikron or from the GitHub-Account. In case you are planning on an independent integration of Suggest, you should integrate the corresponding tracking parameters by yourself. In both cases we recommend checking the parameter transmission after you completed the integration of Suggest.

Suggest Tracking works by delivering parameters on the following FACT-Finder query. These parameters indicate if the search query was triggered through a suggestion and provide information on which order letters were entered until selection.

Parameter

queryFromSuggest

This parameter indicates that the FACT-Finder query was triggered through a selection from the suggestion list. In this case send the parameter with the value true.

userInput

Please use this parameter to send the order of letters the shop user entered until the search query was triggered.

Example

URL-Interfaces

Let’s assume the shop user entered the letters ri into the search box and chose the entry Ring from the list of suggestions, triggering a search for Ring.
The FACT-Finder search-URL, complemented by the URL-parameters for Suggest Tracking would look as follows:

$stringEscapeUtils.escapeHtml($body)

Webservice / SOAP

Should you address FACT-Finder through a Web service / SOAP interface and a search query (SearchWebservice.getResult) is triggered by the selection, then please deliver the mentioned parameters as follows:

  • queryFromSuggest has to be set as CustomParameter within the corresponding Params object.
  • For userInput a setter mode is available to you within the TrackingInformation object.