title: In Campaign Tracking, Not update new user in Google Analytics Console?
body: <p>I have implemented Google Analytics Campaign tracking for our Android App.</p>
  
  <p>Please check this Image</p>
  
  <p><a href="https://i.stack.imgur.com/iLQsL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iLQsL.png" alt=""></a></p>
  
  <p>In the image you can see that New Users showing as zero and sessions showing the count but not update any new user in google analytical console.</p>
  
  <p>What could be the reason for new users not showing the count?</p>
  
  <p>Here is my code please check it.</p>
  
  <pre><code>&lt;receiver
      android:name="com.google.android.gms.analytics.AnalyticsReceiver"
      android:enabled="true"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.google.android.gms.analytics.ANALYTICS_DISPATCH" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  
  &lt;service
      android:name="com.google.android.gms.analytics.AnalyticsService"
      android:enabled="true"
      android:exported="false" /&gt;
  
  &lt;!--
       Optionally, register CampaignTrackingReceiver and CampaignTrackingService to enable
       installation campaign reporting
  --&gt;
  
  &lt;receiver android:name="info.androidhive.googleanalyticsss.app.InstallReceiver"
      android:exported="true"&gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.android.vending.INSTALL_REFERRER" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  &lt;service android:name="com.google.android.gms.analytics.CampaignTrackingService" /&gt;
  </code></pre>
  
  <p>BroadcastReceiver receiver code is below :</p>
  
  <pre><code>public class InstallReceiver extends BroadcastReceiver {
  
    @Override
    public void onReceive(Context context, Intent intent) {
        try {
            Log.v("ReferralAction", " " + intent.getAction());
            Log.v("ReferralString", " " + intent.getDataString());
            Log.v("referral", " " + intent.toString());
            Log.v("referral", " " + intent.getStringExtra("referrer"));
  
            String rawReferrer = intent.getStringExtra("referrer");
            String URL = "http://examplepetstore.com/index.html?" + rawReferrer;
            MyApplication.getInstance().trackCampaigns(URL);
  
        } catch (Exception e) {
            System.out.print(e);
        }
  
      }
  }
  </code></pre>
  
  <p>Send campaign URL to analytics</p>
  
  <pre><code>t.send(new HitBuilders.ScreenViewBuilder()
          .setCampaignParamsFromUrl(url)
          .build());
  </code></pre>
  
  <p>Check this URL :</p>
  
  <p>V/Campaign url: <a href="http://examplepetstore.com/index.html?utm_source=test_utmsource&amp;utm_medium=test_utmmedium&amp;utm_term=test_utmterm&amp;utm_content=test_utmcontent&amp;utm_campaign=test_utmname" rel="nofollow noreferrer">http://examplepetstore.com/index.html?utm_source=test_utmsource&amp;utm_medium=test_utmmedium&amp;utm_term=test_utmterm&amp;utm_content=test_utmcontent&amp;utm_campaign=test_utmname</a></p>