Let's add a new segment 'siteSearchKeyword' and remove one TODO from the codebase, FTW
See the very useful Site Search reports feature!
In 35f975a: Fixes #3904:
new API: getSuggestedValuesForSegment which returns top suggested values for a particular segment. It uses the Live.getLastVisitsDetails API to fetch the most recently used values, and will show the most used values first
Adding tests for everything. The test case actually generates data for all segments so that VisitsSummary.get returns some data for each of the 47 segments being tested returns some data.
How it works: