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.
sid
This parameter is required for using the A/B Test Module. If no SessionID (sid
) is passed to FACT-Finder, the search is always based on the A variant, since the SessionID is used to decide which variant of the A/B test should be run.
Example
REST-Interface
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:
rest/{apiversion}/search/{channel}?query=Ring&...&queryFromSuggest=true&userInput=ri