title: google analytics api query a specific url
body: <p>I am accessing the Google analytics API with PHP which works on my end but I'd love to filter the results a bit further.
  Right now I am using:</p>
  
  <pre><code>$OBJresult = $analytics -&gt; data_ga -&gt; get(
      'ga:' . $profilID,
      '2012-01-01',
      date( "Y-m-d" ),
      'ga:visits',
      array(
          'dimensions' =&gt; 'ga:pagePath',
          'metrics' =&gt; 'ga:pageviews',
          'sort' =&gt; '-ga:pageviews',
          'max-results' =&gt; '25'
      )
  );
  </code></pre>
  
  <p>Currently this returns a set of 25 pages sorted by its hits.
  I would love to restrict the results to a specific path within the server. So e.g. only query domain.com/news and only see what the most hit news pages are.
  I can filter with PHP but rather have the query as specific as possible.</p>
  
  <p>Thanks for the help</p>