title: Google Analytics and measuring search terms to destination pages
body: <p>Been using internal site search with Google Analytics and while I love the ability to see what my users are searching for, I am having a really hard time figuring out what search terms lead to which pages. </p>
  
  <p>When I search on both the <code>nextPagePath</code> and <code>searchKeyword</code> dimensions while filtering on the search results page at the current path, the <code>nextPagePath</code> is always the search results page even when I know it shouldn't be (when tracking my own obscure searches). The same goes for using the <code>searchDestinationPage</code> dimension. I can't get any data that shows a jump from a search results page to another page on the site. </p>
  
  <p>Here's a cleaned up example of my api query. </p>
  
  <p><code>dimensions=ga:searchKeyword,ga:nextPagePath&amp;metrics=ga:pageviews&amp;filters=ga:previousPagePath=@dosearch</code></p>
  
  <p>When I use the standard Analytics UI and look at the Destination Pages list under Content->Site Search->Destination pages, I only have 25 or so, all of which are just the variations on the base search-result page URL. </p>
  
  <p>Do I need additional tracking code on my search results pages? Custom variables? A different query through the API?</p>
  
  <p>I can see the tracking requests going out from both the search results and the pages selected from the results. </p>
  
  <p>I found a couple of questions in the Analytics forums that ask this same question, but none of them had anything resembling a working solution. </p>