title: is there a way to get page views count by page category
body: <p>I would like to know my requirement is common for every one or not? I am trying to show the page views count by category in my blog, to do this I am using google reporting analytics API. I have setup everything and able to get the page views count by specific given dates like below.</p>
  
  <pre><code>$dateRange = new Google_Service_AnalyticsReporting_DateRange();
  $dateRange-&gt;setStartDate("today");
  $dateRange-&gt;setEndDate("today");
  
  $sessions = new Google_Service_AnalyticsReporting_Metric();
  $sessions = new Google_Service_AnalyticsReporting_Metric();
  $sessions-&gt;setExpression("ga:pageviews");
  </code></pre>
  
  <p>Here I am getting only page views count, but I am not able to get the views count by category.</p>
  
  <p>Can any one help me.</p>