title: Google Analytics how to understand Category, Action and Label for a mobile project?
body: <p>I'm implementing Google Analytics in a mobile (iOS) project and am running into an issue where I can't understand how to structure my reporting hierarchy. <strong>How do I use Category, Action, Label for Google Analytics events?</strong></p>
  
  <pre><code> NSMutableDictionary*event = [[GAIDictionaryBuilder createEventWithCategory:@"ui_action"     // Event category (required)
                                                                          action:@"button_press"  // Event action (required)
                                                                           label:@"play"          // Event label
                                                                           value:nil]
                                   build];
  </code></pre>
  
  <p>I've looked at the <a href="https://developers.google.com/analytics/devguides/collection/ios/v3/events" rel="nofollow">original iOS documentation for Google Analytics</a>, as well as <a href="http://www.koozai.com/blog/analytics/the-complete-google-analytics-event-tracking-guide-plus-10-amazing-examples/" rel="nofollow">this web tracking example</a> and I'm still unclear on how to use events in mobile environment. </p>
  
  <p>In the example above,:</p>
  
  <ul>
  <li>Would all of my UI events fall under <code>ui_action</code> category?</li>
  <li>Would all my buttons go under <code>button_press</code> action (with labels to differentiate)?</li>
  <li>Would my text fields edits go under <code>text_entry</code> action?</li>
  <li>Or do I need a unique action for each button, like <code>button_play, button_stop, button_buy</code> ?</li>
  </ul>
  
  <p>Maybe there's a tutorial or an example project with fully defined analytics events built in that I can take a look at?</p>