Postagens

Google Analytics in Delphi Mobile Without 3rd party Components

Google Analytics in Delphi Mobile Without 3rd party Components Google analytics is the most exciting tool to have in your Swiss knife. With it you can have a nice picture of what is going on in your mobile apps, how users are using it, which time of the day it is most used and much more. And everything in REAL TIME! With a little dig into Google Analytics API I realized that anybody can add such a valuable tool in any mobile app in 30 minutes. But 30 minutes is too much nowadays, so, here are the steps for you to achieve it in 5 minutes: 1- Make sure the google-analytics jar is in your project libraries and it is enabled: 2- Create a Data Module with these methods/events (*described in analytics unit, below). I've created some consts that organizes the events and actions in dimensions, so you can group that information for statistics purposes. I created 3 dimensions: one for exceptions, one for events and one for actions of the user. 3- Call AppAnalytics.Add to register
Postagens recentes