As I get the app ready for release I've decided to include Google
Analytics so that I can see what pages are used the most in the app,
and it will also help me to log errors.
The following is from Google's website:
The Google Analytics for Mobile Apps SDKs provide an interface for
tracking activity within mobile apps and reporting that activity to
Google Analytics. For example you can use this SDK to calculate
visits, session length, bounce rate and unique visitors. Tracking
mobile applications has some structural variations from tracking
website pages.
This SDK uses a tracking model that is designed to track visitors to
traditional websites and interaction with widgets in traditional web
pages. For this reason, the terms used below reflect the conventional
website tracking model and are being mapped over to tracking mobile
applications. You should be familiar with Analytics tracking in order
to understand how this SDK works.
Use the mobile tracking SDK to track your phone applications with the
following Analytics interaction types:
Pageview Tracking
A pageview is a standard means to measure traffic volume to a
traditional website. Because mobile apps don't contain HTML pages, you
must decide when (and how often) to trigger a pageview request. Also,
since pageview requests are designed to report on directory
structures, you should provide descriptive names for the requests to
take advantage of page path naming in the Content reports in
Analytics. The names you choose will be populated in your Analytics
reports as page paths even though they are not actually HTML pages,
but you can use this to your advantage by structuring paths to provide
additional groupings for your calls.
Event Tracking
In Analytics, events are designed to track user interaction to web
page elements distinctly from pageview requests. You can use the Event
Tracking feature of Google Analytics to make additional calls that
will be reported in the Event Tracking section of the Analytics report
interface. Events are grouped using categories and may also use
per-event labels, which provides flexibility in reporting. For
example, a multimedia app could could have play/stop/pause actions for
its video category and assign a label for each video name. The Google
Analytics reports would then aggregate events for all events tagged
with the video category.
Custom Variables
Custom variables are name-value pair tags that you can insert in your
tracking code in order to refine Google Analytics tracking.