title: How to add Firebase custom events for analytics?
body: <p>I've seen some questions and answers about custom events for firebase analytics, but i just wanted to ask you a straight question so you can give me a straight answer :)</p>
  
  <p>So, this is my method for logging:</p>
  
  <pre><code>@Override
  public void logFeatureSelectedEvent(String categoryName, String actionName, String labelName) {
      Bundle bundle = new Bundle();
      bundle.putString(EventTrackingKeys.EventTypes.CATEGORY, categoryName);
      bundle.putString(EventTrackingKeys.EventTypes.ACTION, actionName);
      bundle.putString(EventTrackingKeys.EventTypes.LABEL, labelName);
      mFirebaseAnalytics.logEvent(EventTrackingKeys.EventAnalyticTypes.FEATURE_SELECTED_EVENT, bundle);
  }
  </code></pre>
  
  <p>with custom event/key names:</p>
  
  <pre><code>String CATEGORY = "category";
  String ACTION = "action";
  String LABEL = "label";
  String FEATURE_SELECTED_EVENT = "feature_selected_event";
  </code></pre>
  
  <p>So, in my firebase console I only get event name "feature_selected_event", without custom parameter names.. 
  I've seen some answers that i should call setUserProperty() method and register that user property in the User Properties tab of Firebase Analytics. 
  Is this the right way to implement that method? :</p>
  
  <pre><code>   @Override
  public void logFeatureSelectedEvent(String categoryName, String actionName, long value) {
      Bundle bundle = new Bundle();
      bundle.putString(EventTrackingKeys.EventTypes.CATEGORY, categoryName);
      bundle.putString(EventTrackingKeys.EventTypes.ACTION, actionName);
      bundle.putLong(EventTrackingKeys.EventTypes.VALUE, value);
      mFirebaseAnalytics.setUserProperty(EventTrackingKeys.EventTypes.CATEGORY, categoryName);
      mFirebaseAnalytics.setUserProperty(EventTrackingKeys.EventTypes.ACTION, actionName);
      mFirebaseAnalytics.setUserProperty(EventTrackingKeys.EventTypes.VALUE, value);
      mFirebaseAnalytics.logEvent(EventTrackingKeys.EventAnalyticTypes.FEATURE_SELECTED_EVENT, bundle);
  }
  </code></pre>