3. Creating your analytics.xml file

When you use EasyTracker, global configuration settings are managed using
resources defined in XML. Create a file called analytics.xml in
your project's res/values directory and add the following resources:

Important: Do not encode dashes in the
ga_trackingId string. Doing so will prevent you from seeing any
data in your reports.

See the analytics.xml parameters reference for the
complete list of parameters you can use to configure your implementation. Depending on your applications requirements,
you may wish to change the dispatch period
to verify that you are properly sending hits. For example if you want to see real time data,
you may want to set this to a low value such as 5s.

Congratulations! Your app is now setup to send data to Google
Analytics.

Next steps

You can do much more with Google Analytics, including measuring
campaigns, in-app payments and transactions, and user interaction events.

The following developer guides provide additional details on how to implement
Google Analytics features in your app:

Measuring Events – Learn how to measure user
engagement with interactive content like buttons, videos, and other media
using Events.