They typed what they wanted and got "No results". Your search logs show the words. Only the person knows whether you don’t have it or call it something else.
A search with no results is one of the few moments where a user tells you exactly what they want, in their own words, and then gets nothing back. Most products log the query and move on.
The query alone is ambiguous. "invoice template" with no results could mean you don’t offer it, you call it "billing documents", or the user misspelled something. Asking one question while the empty result is on screen separates those cases.
Any page with searchA text box fits here, because they were already typing. You get the thing they wanted in a sentence, which tells you more than the search query. Keep it short. One question, no choices to scan.
Only your code knows the result was empty, so send an event at that moment. One line next to the code that renders "No results". The card appears right after, while the empty list is still on screen. It won’t interrupt someone who is typing a new search.
Why didn’t you find it?
When: After the same "search empty" event
Easier to count, at the cost of the detail. Use it once the text answers have shown you the common cases.
Did these results have what you wanted?
When: Several steps, written by your agent: searched, saw results, clicked none, 10 seconds without clicking
The quieter failure. Results that look relevant to your search engine and don’t to the person.
On every page with search.
DocsWhere your code renders an empty result, add Usercase.track("search empty"). Your coding agent can find the place and add it.
DocsIn Live questions choose New question. Set When to After an event and pick "search empty". Choose Write freely.
DocsAnswers appear in Live questions. To see the searches behind them, filter Visits to people who answered and open the replays.
DocsWhen a search returns no results, ask what they were looking forTyping in input fields is masked in replays by default, so read their answer instead. Their answer is usually clearer than the query.
No. At most one question per visit, and the same person only every 7 days by default. You can lower the share of visitors under Who gets asked.
Yes. Any site where you can add a script and call Usercase.track.