Track App Usage With Analytics Components In #Delphi XE8 Firemonkey On #Android And #IOS


Developer Luis Navarro from Embarcadero has a blog post up that explains how to setup the new TAppAnalytics component from Delphi XE8 Firemonkey in your app. Using analytics is a great way to find out how users are using your app. Events can be tracked on Android, IOS, OSX, and Windows. Basically TAppAnalytics can track events that take place within your app like the app is first launched or what OS version the app is running on and send that data up to a server. Embarcadero is providing the cloud server for TAppAnalytics and they have a free tier. You can track up to 10,000 events for free in a month in one app. The next tier allows you to track up to 100,000 events in a month and has a monthly cost. You can find out more about their pricing here. The analytics component can also be used to track exceptions. In addition to the built in events you can track custom events within your app as well. Sarina DuPont from Embarcadero has a blog post up with a code snippet for tracking custom events. If you have Delphi XE8 you can log into the AppAnalytics server side here. The AppAnalytics tracking does not use a secure connection and you can not connect the component to your own cloud or internet server. A third party component is also available that allows you to track app usage with the Google Analytics API. Both solutions have their pros and cons. You can use TAppAnalytics in Appmethod and C++Builder as well.
Head over and check out the full blog post about setting up TAppAnalytics in your Delphi XE8 Firemonkey app.

Comments are closed.