If your shop maintains its own cache and search and navigation requests are answered through this cache without forwarding the request to FactFinder, then please pass the log
event in order to notify FactFinder. This is important for correct analyses as well as for modules which are based on search amounts (such as ASO). With this event you are sending the most important basic data of the search result, delivered from your cache.
The log event needs the event, sid
, and channel
General Parameters. The session ID which has to be passed is the ID of the request which was answered by your cache and not the session ID of the request which created the cached search result. Additionally the following parameters must resp. can be passed:
Parameter | Description | |
---|---|---|
query | essential | The search term for which a search was conducted and on which feedback has been provided. |
page | essential | The number of the search result page on which the selected product was displayed. The first page has the number 1. |
pageSize | essential | The number of products per search result page at the time the click was executed. |
hitCount | essential | The amount of products found in the search result. |
searchTime | essential | The time which was needed to create the search result. |
bestSimi | essential | Similarity of the best product. |
minSimi | essential | Similarity of the last product. |
filter[FELDNAME] | essential | Information about active filters in the search result. This parameter consists of the |
searchField | essential | The field for which the search was performed in case the search was limited to a specific field. |
customSorting | essential | If the default sorting was not used for the search result, then please send a true. If you do not pass the parameter, then FactFinder will assume, that the search result was sorted with the default sorting. |
additionalInfo | essential | You may use this parameter to add something to the log entry, such as to enable searching the log for a specific entry. Hint: Contrary to other tracking events |
REST
The technical documentation of the REST-API is contained in the search application itself and can be accessed via [your NG server]/fact-finder/swagger-ui.html . It can be also accessed via the following URL:
Swagger Link
The interface offers not only the parameter documentation, but also the option to test a query and review the result. The documentation was created with Swagger, you can use Swagger Codegen to generate a client for it and use it for your code.
Shop Cachehit-event documentation can be accessed via the log
method in the tracking
resource.