title: How to move from Google-Analytics to Firebase-Analytics?
body: <h2>Background</h2>
  
  <p>In the recent months, Google has published a new Analytics alternative, called "<a href="https://firebase.google.com/docs/analytics/android/start/" rel="noreferrer"><strong>Firebase Analytics</strong></a>" .</p>
  
  <h2>The problem</h2>
  
  <p>As the app already does have Google-Analytics, I find some obstacles that I can't see how to best handle.</p>
  
  <h2>The questions</h2>
  
  <ol>
  <li><p>Previously, "newTracker" function needed a property-id. Now I don't see it. Does it mean it doesn't need one?</p></li>
  <li><p>Previously, "enableAdvertisingIdCollection " was available to collect ads info too. I can't find it in new APIs. Is it automatically collected?</p></li>
  <li><p>"setDryRun" was available to disable sending the data to the servers, and now I don't see it. Does it mean it's automatically this way for debug versions of the app? Do all functions write to the logs?</p></li>
  <li><p>Previously, I could track a "screen" : </p>
  
  <pre><code>public void setScreenName(String name) {
      mGoogleAnalyticsTracker.setScreenName(name);
      mGoogleAnalyticsTracker.send(new HitBuilders.ScreenViewBuilder().build());
  }
  </code></pre>
  
  <p>Now I don't see it, but as I've read, I think it's automatic, so it sends data of the activity lifecycle anyway. Is it true?</p></li>
  <li><p>Probably the most important thing: previously I could track using category, action, label and value:</p>
  
  <pre><code>public void trackEvent(final String category, final String action, final String label, final long value) {
      mGoogleAnalyticsTracker.send(new HitBuilders.EventBuilder()
              .setCategory(category).setAction(action)
              .setLabel(label).setValue(value).build());
  }
  </code></pre>
  
  <p>and now I see a completely different way to track events ("custom events"), using <a href="https://firebase.google.com/docs/analytics/android/start/" rel="noreferrer"><strong>bundles</strong></a>. Example:</p>
  
  <pre><code>Bundle bundle = new Bundle();
  bundle.putString(FirebaseAnalytics.Param.ITEM_ID, id);
  bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, name);
  bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image");
  mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
  </code></pre>
  
  <p>How does it work? How is it shown in the <a href="https://console.firebase.google.com/" rel="noreferrer"><strong>website of Firebase Analytics</strong></a>? I suppose I could have the first parameter of logEvent behave like the category parameter of the Google-Analytics, but what can/should I do for the rest? According to the docs, this should be ok:</p>
  
  <pre><code>public void trackEvent(final String category, final String action, final String label, final long value) {
      Bundle bundle = new Bundle();
      bundle.putString("action", action);
      bundle.putString("label", label);
      bundle.putLong("value", value);
      mFirebaseAnalytics.logEvent(category, bundle);
  }
  </code></pre></li>
  <li><p>Which events are actually automatically being tracked (I ask this because some are said that I shouldn't use, <a href="https://firebase.google.com/docs/reference/android/com/google/firebase/analytics/FirebaseAnalytics.Event" rel="noreferrer"><strong>here</strong></a>) ? Do they include purchases? app-invites? ads? Where do I see them in the console website ? </p></li>
  <li><p>About logs, <a href="https://firebase.google.com/docs/analytics/android/start/" rel="noreferrer"><strong>it says</strong></a> that the new SDK does it by :</p>
  
  <blockquote>
    <p>You can enable verbose logging with a series of adb commands:</p>
    
    <p>adb shell setprop log.tag.FA VERBOSE 
    adb shell setprop log.tag.FA-SVC VERBOSE 
    adb logcat -v time -s FA FA-SVC</p>
  </blockquote>
  
  <p>What do those commands do? How can I disable it? I've noticed it even gets shown in release version of the app...</p></li>
  <li><p>Is the new SDK supposed to replace Google-Analytics? Is it suggested to fully move to it? Will Google-Analytics have any updates?</p></li>
  </ol>