Getting started with Google Analytics is easy. You can usually start measuring your app's use by writing one line of code — or less! Google Analytics is designed around the way you work, with flexible implementation options to fit your needs. Take a look at these options and choose the right one for you.
Tip: Make sure you're sending Google Analytics the data to help you make the best decisions about your app, by reviewing the mobile app implementation guide.
Google Play services SDK
If you’re a Google Play developer, it’s likely you’re already using the Google Play Services SDK. If you are, unlocking the power of Google Analytics is only a line of code away. Here's how:
- Create your Google Analytics account.
- Write down your tracking ID.
- Initialize Google Analytics in your app to start measuring activity immediately.
Read the step-by-step implementation guide to get Google Analytics working in your app and configure advanced customizations.
Unity Plugin
If you’re a developer who uses an app engine to build games for multiple platforms, consider using the Google Analytics Unity Plugin. With the Unity Plugin, you add Google Analytics to your app as an in-line part of your development process. When you compile your app for a given platform, the appropriate Google Analytics SDK is added automatically — giving you Google Analytics across Android, iOS, and other platforms with a single implementation.
Find out more about setting up the Google Analytics Plugin for Unity.
Google Tag Manager
Looking for a way to update and improve your in-app analytics without having to release a new version of your app waiting for your users to update? Then Google Tag Manager is the solution for you. With Tag Manager for Apps, you instrument your app once and then use the simple web interface to customize your Google Analytics implementation. Updates you make using Tag Manager get pushed to the installed instances of your app on user devices — so there's no need for you to release an app update!
Google Tag Manager can also be used to control in-app configurations and to power A/B testing. And since Tag Manager is a part of the Google Play Services SDK, there’s no additional resources you need to keep track of.
Find out more about implementing Google Tag Manager.