---
title: "How to enable the Google Analytics tracking in my app?"
description: "A few weeks ago, we talked about how to understand your app analytics. It's a gold mine to&nbsp;figure out the behavior of your users, and to evaluate your app'"
canonical_url: "https://www.goodbarber.com/blog/how-to-enable-the-google-analytics-tracking-in-my-app-a336/"
lang: en
date: 2014-01-22
last_updated: 2017-06-14
---

# How to enable the Google Analytics tracking in my app?

[Back](/blog/popular-articles-r23/)

# How to enable the Google Analytics tracking in my app?

Written by [Dumè Siacci](https://www.goodbarber.com/blog/author/dominique-siacci/)  on Wednesday 22 January 2014· Last update: Wednesday 14 June 2017

![](https://cmsphoto.ww-cdn.com/superstatic/41269/art/grande/6258263-9351572.jpg?v=1390489206.5511172)

A few weeks ago, we talked about [how to understand your app analytics](https://www.goodbarber.com/blog/understand-your-mobile-app-s-traffic-statistics-a284/). It's a gold mine to **figure out the behavior of your users**, and to evaluate **your app's performance**, whatever is your goal.

The **GoodBarber internal statistics** are a very good starting point, but in some cases, it can be interesting to plug external analytics tools, like **Flurry Analytics** or **Google Analytics**. There are great chances that you already use Google Analytics if you have a website, so, if you use it also for your app, you will be very familiar with it too.

Let's see together how to make your **app send data to Google Analytics**.

## 1. Login to your Google Analytics account

![](https://cmsphoto.ww-cdn.com/superstatic/41269/art/grande/6258263-9351573.jpg?v=1390489224.8231168)

Go to <https://www.google.com/analytics/> , login, and select one of your accounts. Then, click on **Admin** in the navigation bar.

## 2. Create a new property

![](https://cmsphoto.ww-cdn.com/superstatic/41269/art/grande/6258263-9351575.jpg?v=1390489251.0289397)

You can **create this property** inside an existing account, but you can't use the same property than the one used on your website. Click on the list of properties, and choose "**Create new property**".

## 3. Set up your property

![](https://cmsphoto.ww-cdn.com/superstatic/41269/art/grande/6258263-9351577.jpg?v=1390489349.6531541)

You have now to indicate that the new property will **track data from a Mobile app**.

Give it a **name**, a **timezone**, and an **industry category** related to your app.

## 4. Get your Tracking ID

![](https://cmsphoto.ww-cdn.com/superstatic/41269/art/grande/6258263-9351579.jpg?v=1390489382.7875602)

It's written in big, and it's something like this: **UA-xxxxxxxx-y**.

At this time, Google will suggest you to download the Google Analytics SDKs for iOS and Android to add them to your app.

As you use GoodBarber, you don't need to do so: those 2 SDKs are already integrated into your app.

## 5. Go to your GoodBarber backend

![](https://cmsphoto.ww-cdn.com/superstatic/41269/art/grande/6258263-9351580.jpg?v=1390489406.3094318)

Now you have to go in your GoodBarber backend, in the **Audience > Statistics > External tools** menu.

Enable Google Analytics by selecting "**On**", and copy/paste your **tracking code** in the dedicated field.

**NB:** Don't forget that the external statistics are applied by platform. It means that you need to repeat this operation for your iOS app **and** for your Android app.

## 6. Go now to the Publication > Updates menu

The last step is to publish the modifications to update your app with the new tracking code. And it's done!

## Do you need to create a property for each platform, or can you use the same for iOS and Android?

It's a very subjective point, because both ways are working well. Your choice will depend on your use of Google Analytics.

I personally perfer to use a unique property, and filter my data afterwards, by using segments, or profiles. It allows me to compare easily the data between my Android and my iOS apps.

But if you're used to operate with different properties, feel free to repeat this process two times : one time for your iOS app, and one time for your Android app.

So, those are the basic steps to plug Google Analytics into your mobile app. Don't waste too much time before doing it: the earlier your app will be set up to track its stats in Google Analytics, the more you'll have data to analyze later.

In a next post, we'll see together how you can use segments to compare your iOS and Android users behavior. We'll also have a look to the links between Google Analytics and Google Play, and you'll see that there is also a gold mine of data to analyze.

- [#Data](https://www.goodbarber.com/blog/tags/data)
- [#Flurry](https://www.goodbarber.com/blog/tags/flurry)
- [#Google Analytics](https://www.goodbarber.com/blog/tags/google%20analytics)
- [#How To](https://www.goodbarber.com/blog/tags/how%20to)
- [#Statistics](https://www.goodbarber.com/blog/tags/statistics)

![Dominique Siacci](https://blog.goodbarber.com/_public/profile/ca/ca3512f4dfa95a03169c5a670a4c91a19b3077b4-default.jpg)

About the author[Dominique Siacci](https://www.goodbarber.com/blog/author/dominique-siacci/)CTO

Co-founder and CTO of GoodBarber. I drive the product's technical vision: architecture, infrastructure, and more recently the integration of AI at the core of the platform. A developer at heart, I stay close to the code and the engineering decisions that enable thousands of GoodBarber users to publish their apps without writing a single line of code.

[Read more](https://www.goodbarber.com/blog/author/dominique-siacci/)

[![LinkedIn](https://portal.ww-cdn.com/portal_static/svg/base2021/linkedin.3ed8162e2a2b.svg)](https://fr.linkedin.com/in/dsiacci/)[![X](https://portal.ww-cdn.com/portal_static/svg/base2021/x.820492c586dd.svg)](https://twitter.com/dsiacci)[![Facebook](https://portal.ww-cdn.com/portal_static/svg/base2021/fb.be37c82b8283.svg)](https://www.facebook.com/dsiacci)
