Is there a way to get any info on how users are using search? What they are searching for?
We have a lot of categories, so I thought the search would be used almost as a way of global navigation.
I think the ability to search in topic by default should be a community option. Most users may prefer using it as a way to jump around the larger community.
But it’s hard to make the right suggestions without the data.
@sam have you ever considered using Google Analytics events?
I realized I am able to see a number of URLs with query parameter in google analytics. I guess this is triggered either on mobile or when users hit enter. Of the 1000 searches being shown, the large majority seem to be searches for category names. And often when restricted to the topic level (context=topic), the queries are returning 0 results.
If I’m not mistaken, on mobile it is default to search within the topic, but on desktop, the option was default unchecked. Not sure if this inconsistency was intentional.
And please also consider category names. would be nice if there’s a match on a category title that these could show up at the top of mobile search results. In communities with larger numbers of categories i can see this being very useful.
In the case of direct, exact character-for-character matches I think it is clear what to do @sam. For example if I search for “tgxworld”… that’s an exact match.
I find it odd that they didn’t include the match count - “7 repositories”, “164 issues” etc - in the mobile interface, since that’s a very important clue.
@erlend_sh I think GitHub is showing more a drilldown, as opposed to direct access to a category.
I was thinking more the way that Twitter will show an account. Whether it’s at the top or in a column. I think categories and posts can be on the same list, as long as we had a slight different way of labeling / displaying the category. Will try to give it more thought on my end.
Yeah I think that this is probably the way to go on mobile — we don’t want to make assumptions of what the priority in the search is… and stacking any sort of results would imply priority by pushing down other groups of results… while tabs are typically seen as on the same level.
Are there any plans to add analytics for search? We have an internal training department, and they’re curious to see what users are searching on in order to help develop curriculum.
@sam , just curious if you ever added a log for searches…if so, maybe I can get something from Data Explorer. Also, is there an update on if search analytics is on a roadmap? Right now, I don’t know if anyone uses the search feature and deflection is a big part of how I like to measure ROI with self-service platforms. Things like:
We actually did complete the work of logging the information. You can try out:
SELECT term, count(*) searches,
sum(case when clicked_topic_id is not null then 1 else 0 end)
"continued from search"
from search_logs
where created_at > current_timestamp - interval '30' day
group by term
order by count(*) desc
limit 100
It Data Explorer, it will show you top 100 searches and even counts of who actually clicked through from search. I find the results super interesting.
We will work on exposing some more of this via the dashboard direct.
(in other news our click through on theme is way up due to recent search tweaks … we were sitting at 1/6 click throughs and now are more around 1/3, so yay )