Issue with tracking No Result Search Keywords

Hi,

One of our application that is integrated with Piwik is mainly used as a search engine. Hence, it is very important for us to get the exact number of times a keyword has been searched or the number of times it has produced no results.

How can I get the number of searches for a keyword/the number of times a keyword has produced no results despite if it is from a single visit or not?

We also observed that No Result Search Keywords is listing the keywords which have the search results as well.

We have used the below code.
_paq.push([‘setCustomUrl’, document.URL + ‘&search_count=’ + searchCount]);