Kentico: Configuring Hawksearch search results widget

In this article you’ll find:

Goal

This article will show you how to work with the Hawsearch search results widget.

Prerequisites

Steps to configure the widget

  1. Once you have set up a page builder supported page, click add widget and click Hawksearch search results.

  2. Hover over the widget and click the settings cogwheel to bring up the widget properties.

  3. Template - You can choose which widget template this widget uses.

  4. Index - You can choose which index this results widget will use from the dropdown menu. Here you can see the previously created index mapping names.

  5. Use permission filtering - Whether the widget uses permission filtering. If enabled, the widget will add the currently authenticated user’s role ids to be checked against the permissions field on the previously indexed documents when sending search requests.

  6. Track click event - If selected, widget will send click event tracking updates to Hawksearch.

  7. Track recommendation click event - If selected, widget will send recommendation click event tracking updates to Hawksearch.

  8. Track page load event - If selected, widget will send page load event tracking updates to Hawksearch.

  9. Track banner click event - If selected, widget will send banner click event tracking updates to Hawksearch.

  10. Track banner impression event - If selected, widget will send banner impression event tracking updates to Hawksearch.

  11. Data - This field is used to send additional parameters to Hawksearch in a JSON format. Example further below.

Associate with Landing Page

You can filter the search results elevating Hawksearch Landing page functionality.

You can find more information about setting Landing Pages in Hawksearch documentation -

  1. Configure Landing Page for the corresponding Hawksearch instance.

  2. Navigate to a Kentico page that has a placed ‘Hawksearch search results’ widget.

  3. Hover over the widget and click the settings cogwheel to bring up the widget properties.

  4. In the Data field enter the Url of your Landing Page in the following format:

    {"CustomUrl":"landing-page-url"}
  5. Click Save.