Google Analytics Mobile doesn't count

2019-07-23 08:00发布

Got a strange thing going on, I recently started counting visitors of my app, it was working fine. Ater a while I saw that on Google Analytics, you can point out if it is a website or mobile. I made a new profile with 'mobile' selected, replaced the code in my app, but since then, it isn't counting anymore.. I waited more then 24 hours.

I use

mGATracker = GoogleAnalyticsTracker.getInstance();
            mGATracker.startNewSession("UA-xxxxxxxx-x", this);
            mGATracker.trackPageView("/About");

And dispatch in the onDestroy method: @Override

public void onDestroy() {
        try {
            super.onDestroy();
            mGATracker.dispatch();
            mGATracker.stopSession();
        } catch (Exception error) {
            Log.e("<YOUR_TAG>", "onDestroy: " + error.toString());
        }
    }

Anybody else experienced this?

1条回答
再贱就再见
2楼-- · 2019-07-23 08:45

GA ver 1 requires 'website' type of panel.

查看更多
登录 后发表回答