我在我的应用程序中安装了Google Analytics SDK。
我希望能够有实时分析(谷歌提出的新功能)。
我的代码:
tracker = GoogleAnalyticsTracker.getInstance();
// the tracker is started with a dispatch interval of 20 seconds.
tracker.startNewSession("UA-XXXXX", 20, theContext);
tracker.trackEvent("Init", theContext.getPackageName(),