Developer
Developer

Reputation: 385

Google analytic for mobile app showing no response though getting http 200

I am using google analytic for my android app.I am getting Http 200 in my logcat but when i go to the google analytics website to see the tracking view , it doesn't show me any activity/response. May be i am missing something in the google analytic. here is the code:

  1. tracker =GoogleAnalyticsTracker.getInstance();

    tracker.start("UA-40662362-1", 30, this);
    tracker.setDebug(true); 
    tracker.trackPageView("/TrackerActivity");
    

Upvotes: 1

Views: 945

Answers (1)

Nargis
Nargis

Reputation: 4787

Google Analytics Data is always available on the Google Analytics Dashboard next day.

So check on Analytics dashboard probably after a day for your data.

Moreover , You can send a Screen View using tracker.sendView("TrackerActivity)

Use the below link to track Screen Views and Send event on Google Analytics:

https://developers.google.com/analytics/devguides/collection/android/v2/advanced

Follow below steps to track data for Mobile App using GA:

1-> Login to Google Analytics site

2-> Click on Admin tab

3-> Create a New Account

4-> Choose App

5-> Fill in All relevant details

6-> A Unique tracker ID will be generated

7-> Follow https://developers.google.com/analytics/devguides/collection/android/v2/advanced to send Screen View and Send Event to GA

8-> Make sure your using the unique tracker id provided to you in Step 6

9-> Use your App with GA Changes

10-> Login to Google Analytics Account next day

11-> Click on Account List and Select the same Account - 3

12-> View you All Mobile app data

Upvotes: 1

Related Questions