Questions to ask · Using it

What to ask when a search finds nothing

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.

The situation

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.

Ask it like this

Where
Any page with search
When
After an event, Usercase.track("search empty"), sent when the results come back empty
How they answer
Write freely

A 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.

Other versions

You want categories instead

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.

Results, but nothing clicked

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.

What the answers tell you

They name something you have
A naming problem. Add their word as a synonym or rename the thing.
They name something you don’t have
A request, from someone who wanted it badly enough to search. Count how often it comes up.
They describe a task, not a thing
They search for what they are trying to do. Consider pointing searches like that to a guide or a feature page.

Set it up in Usercase

  1. 01
    Add the script

    On every page with search.

    Docs
  2. 02
    Send the event

    Where your code renders an empty result, add Usercase.track("search empty"). Your coding agent can find the place and add it.

    Docs
  3. 03
    Create the question

    In Live questions choose New question. Set When to After an event and pick "search empty". Choose Write freely.

    Docs
  4. 04
    Read the answers

    Answers appear in Live questions. To see the searches behind them, filter Visits to people who answered and open the replays.

    Docs
Or, with the Usercase plugin connected, ask your coding agent (Claude Code, Codex)
When a search returns no results, ask what they were looking for

Questions

Can I see what they typed in the search box?

Typing in input fields is masked in replays by default, so read their answer instead. Their answer is usually clearer than the query.

We have a lot of searches. Will everyone get asked?

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.

Our search is on a store, not an app. Does it work?

Yes. Any site where you can add a script and call Usercase.track.

Other moments to ask about

Ask your real users why.