title: Google Analytics PHP API: Get event total events
body: <p>The analytics api allows you get events and total events across the profile, but I can't work out how to get the total events of a particular event. For example:</p>
  
  <ol>
  <li>Event 1 has 10 total events and 3
  unique events.</li>
  <li>Event 2 has 5 total events and 5
  unique events.</li>
  </ol>
  
  <p>If I use <code>ga:totalEvents</code>, it will return 15 and <code>ga:uniqueEvents</code> will return 8. How can I filter it down to category (ie title... Event 1, Event 2 are "Categories").</p>
  
  <p><a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDimensionsMetrics.html#ga%3atotalEvents" rel="nofollow">Docs</a></p>