Getting User Feedback

SearchStax Studio offers a special widget that you can optionally install on your application search page to encourage visitors to leave feedback about the search experience. It looks like this:

When a user fills out this form, the input is added to the App database for examination in the Studio UI by the Business User. 

To include this widget in your search page, begin by including this script in the header of the page:

var _msq = _msq || []; //declare object
(function() { 
var ms = document.createElement('script'); 
ms.type = 'text/javascript'; 
ms.src = ''; 
var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ms, s); 

Then insert a DIV element where you want to offer the user a link to the feedback widget:

<div id="sf-feedback"></div>

Finally, add a snippet to link the DIV to the Search Feedback Survey form. 

(function (w,d,s,o,f) {w['sf-widget']=o;w[o] = w[o] || function () {(w[o].q = w[o].q || []).push(arguments)};
js = d.createElement(s);fjs = d.getElementsByTagName(s)[0];js.src = f;js.async = 1;fjs.parentNode.insertBefore(js, fjs);}
(window, document, 'script', '_sf', ''));

Note that the _sf parameter in the final line is the App’s Analytics Key. You must substitute the key that identifies your Search App.


Do not hesitate to contact the SearchStax Support Desk.