1page.title=Get Started with Analytics
2page.metaDescription=Get advanced insight into how players discover and play your games.
3page.tags="analytics, user behavior"
4page.image=images/cards/card-analytics_2x.png
5
6
7@jd:body
8
9<p>
10  Getting started with Google Analytics is easy. You can usually start
11  measuring your app's use by writing one line of code — or less! Google
12  Analytics is designed around the way you work, with flexible implementation
13  options to fit your needs. Take a look at these options and choose the right
14  one for you.
15</p>
16
17<p class="note">
18  <strong>Tip</strong>: Make sure you're sending Google Analytics the data to
19  help you make the best decisions about your app, by reviewing the <a href=
20  "https://developers.google.com/analytics/solutions/mobile-implementation-guide">
21  mobile app implementation guide</a>.
22</p>
23
24
25<h2 id="playservices">Google Play services SDK</h2>
26
27<img src="/images/google/gps.png" style="width:40%;float:right;padding-left:2em;">
28
29<p>
30  If you’re a Google Play developer, it’s likely you’re already using the
31  Google Play Services SDK. If you are, unlocking the power of Google Analytics
32  is only a line of code away. Here's how:
33</p>
34
35<ul>
36<li><a href="https://accounts.google.com/SignUp?continue=https%3A%2F%2Fwww.google.com%2Fanalytics%2Fmobile%2F&hl=en">Create
37your Google Analytics account</a>.</li>
38<li>Write down your tracking ID. </li>
39<li>Initialize Google Analytics in your app to start measuring activity immediately.</li>
40</ul>
41
42<p>
43  Read the <a href=
44  "https://developers.google.com/analytics/solutions/mobile-implementation-guide">
45  step-by-step implementation guide</a> to get Google Analytics working in your
46  app and configure advanced customizations.
47</p>
48
49
50<h2 id="unityplugin">Unity Plugin</h2>
51
52<p>
53  If you’re a developer who uses an app engine to build games for multiple
54  platforms, consider using the Google Analytics Unity Plugin. With the Unity
55  Plugin, you add Google Analytics to your app as an in-line part of your
56  development process. When you compile your app for a given platform, the
57  appropriate Google Analytics SDK is added automatically &mdash; giving you
58  Google Analytics across Android, iOS, and other platforms with a single
59  implementation.
60</p>
61
62<p>
63  Find out more about <a href=
64  "https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleanalytics%2Fgoogle-analytics-plugin-for-unity&sa=D&sntz=1&usg=AFrqEzdznBYiRnABaqfhOkFmVWvaYKlf0w">
65  setting up the Google Analytics Plugin for Unity</a>.
66</p>
67
68
69<h2 id="tagmanager">Google Tag Manager</h2>
70
71<p>
72  Looking for a way to update and improve your in-app analytics without having
73  to release a new version of your app waiting for your users to update? Then
74  Google Tag Manager is the solution for you. With Tag Manager for Apps, you
75  instrument your app once and then use the simple web interface to customize
76  your Google Analytics implementation. Updates you make using Tag Manager get
77  pushed to the installed instances of your app on user devices &mdash; so there's no
78  need for you to release an app update!
79</p>
80
81<p>
82  Google Tag Manager can also be used to control in-app configurations and to
83  power <a href="{@docRoot}distribute/analyze/build-better-apps.html#test">A/B
84  testing</a>. And since Tag Manager is a part of the Google Play Services SDK,
85  there’s no additional resources you need to keep track of.
86</p>
87
88<p>
89  Find out more about <a href=
90  "https://developers.google.com/tag-manager/android/v4/">implementing Google
91  Tag Manager</a>.
92</p>
93
94  <div class="headerLine clearfloat">
95  <h2 id="related-resources">
96    Related Resources
97  </h2>
98</div>
99
100<div class="resource-widget resource-flow-layout col-13"
101  data-query="collection:distribute/analyzestart"
102  data-sortorder="-timestamp"
103  data-cardsizes="6x3"
104  data-maxresults="6">
105</div>