title: It is necessary to initialize Firebase Analytics in every Activity?
body: <p>I don´t want to send any special logs to the Firebase Analytics console, just check in which screens is the user spending more time and so on.</p>
  
  <p>When I used <code>AnalyticsTracker</code> it was compulsory to add it everywhere, so do you can set the specific name of every screen with the <code>Tracker.xml</code> file.</p>
  
  <p>The official documentation says:</p>
  
  <blockquote>
    <p>Add the dependency for Firebase Analytics to your app-level <code>build.gradle</code> file:</p>
    
    <p><code>compile 'com.google.firebase:firebase-core:9.2.1'</code></p>
    
    <p>Declare the FirebaseAnalytics object at the top of your activity:</p>
    
    <p><code>private FirebaseAnalytics mFirebaseAnalytics;</code> </p>
    
    <p>Then initialize it in the <code>onCreate()</code> method:</p>
    
    <p><code>mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);</code></p>
  </blockquote>
  
  <p>So I guess I´ve to do this in every page where I want to get data, haven´t I?</p>