Releases: AddSearch/search-ui
Releases · AddSearch/search-ui
v0.2.1
Click tracking support added to autocomplete component. The link must have a data-analytics-click attribute with the docid as value.
<a href="{{url}}" data-analytics-click="{{id}}">{{title}}</a>
New experimental component segmentedResults to show federated search results in different lists by content type.
searchui.segmentedResults({
containerId: 'container',
client: clientWithFilters,
template: handlebarsTemplate
});
v0.2.0
With this release, search result clicks are sent to your AddSearch Analytics Dashboard. Information on clicks is also used by AddSearch's self-learning search algorithm for search result optimization.
To send a click, add data-analytics-click attribute with document's ID to the result link:
<a href="{{url}}" data-analytics-click="{{id}}">{{title}}</a>
This feature requires addsearch-js-client@0.2.3 or newer.