Getting Started with Google Analytics for Androidfiles.meetup.com/11850532/Getting Started with...

Preview:

Citation preview

Getting Started with Google Analytics for Android

By: Sarfraz Ahmad GDG NH

What we will learn in this session? Mobile App space

Why Analytics.

Campaigns

User engagement/interactions

Monetization

Mobile App space... Mobile Devices

1 in 5 people in the world own a smartphone (Source: BI Intelligence)

1 in 17 people in the world own a tablet (Source: BI Intelligence)

25% of smartphone owners aged 18-44 can’t remember the last time their phone wasn’t next to them (Source: Fast

Company)

Compared to TV?

Mobile App space… (TV)

Mobile App space… (TV) subscription video on demand service such as Netflix or Amazon Prime Instant Video, up from 35% in

2013

13% of households now have a multimedia device like an Apple TV, Google TV to stream contents

Overall viewers spend about 14.5 hours watching video on their phones, computers and multimedia devices, or about a tenth of tenth of the time they spend watching TV

source Time.com

Companies catching up:

HBO GO, CBS etc

Mobile App space... Consumer app-etite Improved

- Increased overall App engagement and retention

2015 Stats.

There are 224 million monthly active app users in the US (Source: Search Engine Journal)

The amount of time people spend using apps has increased by 21% since last year (Source: Localytics)

In 2014, the percent of apps used only once shrunk to 20%, improving from 22% from last year (Source: Localytics)

During the last four years, the percentage of apps used 11 or more times increased to 39% in 2014 (Source: Localytics)

In Q4 of 2014, apps were opened more than 10 times per month (higher than Q4 of 2013) (Source: Localytics)

Why Analytics

App campaigns performance tracking

Registration Tracking

App interaction tracking using screens, session and Event Tracking

method

eCommerce Tracking

App performance, user demography, Network, Languages, devices, countries and crashes

Social Interaction and App invites

Why Analytics

Buy the best, build the

rest

Analytics Platforms Google Analytics

Flurry

localytics, appanalytics.io and many other small players

Google Analytics https://analytics.google.com/

Signup using Google or Other email Account

Download Mobile SDK for Android

Google Analytics...

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

package="com.example.analytics">

<uses-permission android:name="android.permission.INTERNET"/>

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<application android:name="AnalyticsApplication">

...

</application>

</manifest>

AndroidManifest.xml file to include the INTERNET and ACCESS_NETWORK_STATE permissions

import com.google.android.gms.analytics.GoogleAnalytics;

import com.google.android.gms.analytics.Logger;

import com.google.android.gms.analytics.Tracker;

Google Analytics

Screen View:

mTracker.setScreenName("Image~" + name);

mTracker.send(new HitBuilders.ScreenViewBuilder().build());

Event:

mTracker.send(new HitBuilders.EventBuilder()

.setCategory("Action")

.setAction("Share")

.build());

Google Analytics... Default Implementation:

the number of users and sessions

session duration

operating systems

device models

geography

Google Analytics Registration Tracking

Track Clicks

Track Flow

Track Errors

Google Analytics...

App campaigns performance tracking

https://play.google.com/store/apps/details?id=com.example.app

&referrer=utm_source%3Dgoogle

%26utm_medium%3Dcpc

%26utm_term%3Dpodcast%252Bapps

%26utm_content%3DdisplayAd1

%26utm_campaign%3Dpodcast%252Bgeneralkeywords

"http://examplepetstore.com/index.html?utm_source=email&utm_medium=email_marketing&

utm_campaign=summer&utm_content=email_variation_1"

Google Analytics...

App campaigns performance tracking

<!-- Used for Google Play Store Campaign Measurement-->

<service android:name="com.google.android.gms.analytics.CampaignTrackingService" />

<receiver android:name="com.google.android.gms.analytics.CampaignTrackingReceiver"

android:exported="true"

android:permission="android.permission.INSTALL_PACKAGES">

<intent-filter>

<action android:name="com.android.vending.INSTALL_REFERRER" />

</intent-filter>

</receiver>

Custom Campaign Receiver

Google Analytics...

Google App Invites

Google Analytics...

Reporting

Thank You

Recommended