The 'Top Searches' block in the Google Analytics Summary was not returning any results for my site, even though the Google Analytics account showed results under 'Site search'.

I thought this was a bug until I looked hard at the query examples here: (http://code.google.com/apis/analytics/docs/gdata/gdataCommonQueries.html) and compared to the full Google Analytics report on Google's site.

In the GA report, 'Top Site Searches' is found under Content->Site Search->Search Terms, while 'Keywords' is under Traffic sources->Keywords.

The 'Top Searches' block actually refers to the 'Keywords' query, while what I was expecting was the 'Top Site Searches' query. As far as I understand it, keywords are the search terms users plug into Google that lead them to my site, while top searches are what users search for while on my site. While the keywords could reasonably be termed the 'top search' terms from Google's point of view, when looking at a report on the Drupal site, 'top searches' implies the use of the internal site search.

I suggest changing to the Site Search query, and/or changing the name of the block to 'Keywords' or 'Top Site Search Terms' or something to reduce chances of confusion.

Keywords
This query returns visits broken down by search engine keywords used, sorted by visits in descending order.

dimensions=ga:keyword
metrics=ga:visits
sort=-ga:visits

Site Search - Search Terms
This query returns the number of visits broken down by internal site search, sorted by number of unique searches for a keyword in descending order.

dimensions=ga:searchKeyword
metrics=ga:searchUniques
sort=-ga:searchUniques

Comments

grendzy’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
Issue tags: +Needs backport to D6

Makes sense - in light of this, let's change the header to "Top Keywords".

grendzy’s picture

Status: Active » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.