![]() ![]() ![]() The results can be viewed immediately and you can know if everything is all right. That makes it pretty useful when you are running some ad campaign (e.g. And you also can view real time tracking when someone is using the app. The code is pretty simple and does lot of tracking like app version, devices, location, views, etc. The trackingId can be obtained by creating a new account and mobile app in google analytics account as shown below. You may want to change ga_dispatchPeriod to higher value in case you want to dispatch less frequently. You may want to experiment with various values. In addition you also need analytics.xml in res/values as shown below. Should be part of onStop in ActivityĮasyTracker.getInstance().activityStop(activity) init code within onCreateĮasyTracker.getInstance().activityStart(activity) ĮasyTracker.getTracker().trackView(path) ĮasyTracker.getTracker().trackEvent(category, action, label, val) ![]() Also, users can download its app on iOS and Android to track the metrics anytime. I’m glad that I used 2.0 API as it turned out to be simpler implementation Google Analytics is typically a web-based software development tool for. But After digging more into it, I decided to give 2.0 beta a try. I initially tried to make legacy API 1.5 work thinking that 2.0 is in beta and I had some existing open source code using 1.5. With very little code I was able to implement it. When I used Google analytics SDK v2 for mobile android app, I was pretty impressed with it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |