Related Searches Widget JS


The SearchStax Site Search solution’s Related Searches Widget displays related searches for UX-JS.

Usage

searchstax.addRelatedSearchesWidget("searchstax-related-searches-container", {
     relatedSearchesURL: "URL",
     relatedSearchesAPIKey: "KEY"
  })

Props

  • relatedSearchesURL – An endpoint from the Discovery tab of the App Settings > All APIs screen.
  • relatedSearchesAPIKey – The Discovery API key from the Discovery tab of the App Settings > All APIs screen.
  • templates – See the example at searchstax-ux-js.

Example

See the full example at searchstax-ux-js.

Questions?

Do not hesitate to contact the SearchStax Support Desk.