the firebase tier for your mobile app - devfest ch

81
26-27 November The Firebase tier for your app Matteo Bonifazi devfest.ch

Upload: matteo-bonifazi

Post on 16-Apr-2017

461 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: The Firebase tier for your mobile app - DevFest CH

26-27November

The Firebase tier for your appMatteo Bonifazidevfest.ch

Page 2: The Firebase tier for your mobile app - DevFest CH

Who I am?

● Android lover since Android 2.1

+MatteoBonifazi

@mbonifazi

dekra06[@]gmail.com

● Pasta carbonara lover since I born

● Google Developer Expert

● Working in Technogym

Page 3: The Firebase tier for your mobile app - DevFest CH

Who knows this logo?

Page 4: The Firebase tier for your mobile app - DevFest CH
Page 5: The Firebase tier for your mobile app - DevFest CH
Page 6: The Firebase tier for your mobile app - DevFest CH
Page 7: The Firebase tier for your mobile app - DevFest CH
Page 8: The Firebase tier for your mobile app - DevFest CH
Page 9: The Firebase tier for your mobile app - DevFest CH

What is in your app?

ANALYTICS

NOTIFICATION CRASH Reporting

Extra Services

Page 10: The Firebase tier for your mobile app - DevFest CH

Integrated

Page 11: The Firebase tier for your mobile app - DevFest CH

Cross-platformC++ and Unity compliant

Page 12: The Firebase tier for your mobile app - DevFest CH
Page 13: The Firebase tier for your mobile app - DevFest CH

Pirate metrics with Firebase

Page 14: The Firebase tier for your mobile app - DevFest CH

http://www.slideshare.net/dmc500hats/startup-metrics-for-pirates-long-version

User lifecycle

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make revenuefrom the user?

1 2 3 4 5

Page 15: The Firebase tier for your mobile app - DevFest CH

Pirate Metrics

AcquisitionHow do weget users?

ActivationDid the user

see what makes our

product special?

RetentionIs the user

coming back repeatedly to

use our product?

ReferralDoes the user

like our product

enough to get others to use

itas well?

RevenueAre we able

to make revenue

from the user?

A A R R R

Page 16: The Firebase tier for your mobile app - DevFest CH

❏ Designed for apps

❏ Event and user centric

❏ Connects across Firebase

❏ Free & unlimited

Firebase Analytics

Page 17: The Firebase tier for your mobile app - DevFest CH

Audiance segmentation

Firebase Analytics Keylines

Unlimited reporting

Up to 500 distinct events per app

Page 18: The Firebase tier for your mobile app - DevFest CH

Audiences

an audience accumulates users who meet the specified criteria

Page 19: The Firebase tier for your mobile app - DevFest CH

How create an audience?

⋅ Via User Properties:

private FirebaseAnalytics mFirebaseAnalytics;

// Obtain the FirebaseAnalytics instance.

mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);

mFirebaseAnalytics.setUserProperty("favorite_food", mFavoriteFood);

Up to 25 custom User properties per app

Custom

AutomaticApp Version - Device Model - Gender - Age - OS

version - Interests - New/Established User

Page 20: The Firebase tier for your mobile app - DevFest CH

How create an audience?

⋅ Via Firebase Analytics Events

private FirebaseAnalytics mFirebaseAnalytics;

// Obtain the FirebaseAnalytics instance.

mFirebaseAnalytics = FirebaseAnalytics.getInstance(this);

Bundle bundle = new Bundle();

bundle.putString(FirebaseAnalytics.Param.ITEM_ID, id);

mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);

Custom

Automaticapp_exception - first_open - in_app_purchase - notification_open ...

Up to 500 custom Events per app

Page 21: The Firebase tier for your mobile app - DevFest CH
Page 22: The Firebase tier for your mobile app - DevFest CH

Firebase services

Firebase Analytics Integration

Big Query

● Access all 25 event parameters and user properties

● Generate custom metrics● Join your Firebase Analytics dataset

with data from external sources

● Firebase crash reporting● Firebase notification● Firebase Remote Config

Page 23: The Firebase tier for your mobile app - DevFest CH
Page 24: The Firebase tier for your mobile app - DevFest CH
Page 25: The Firebase tier for your mobile app - DevFest CH
Page 26: The Firebase tier for your mobile app - DevFest CH
Page 27: The Firebase tier for your mobile app - DevFest CH
Page 28: The Firebase tier for your mobile app - DevFest CH
Page 29: The Firebase tier for your mobile app - DevFest CH
Page 30: The Firebase tier for your mobile app - DevFest CH

Does Firebase analytics replace Google Analytics?

NO

Page 31: The Firebase tier for your mobile app - DevFest CH

Firebase Analytics

Why we should like

● Free & unlimited

● Some standard events are logged

automatically

● Easy setup

● Audiences of users

● Funnel analysis

● All in one console

What is missing

● No real time view *

● Events available after 4 hours *

● Only mobile platform

● Behavior flow misses

* Firebase Summit announced

Page 32: The Firebase tier for your mobile app - DevFest CH

Which should I use?

● For app-only companies: use Firebase Analytics

● For companies that only have a website: use Google

Analytics

● For companies with both an app and a website: use both

Firebase Analytics and Google Analytics with their

integration

Page 33: The Firebase tier for your mobile app - DevFest CH

Firebase Analytics + AdWord

Page 34: The Firebase tier for your mobile app - DevFest CH

Socialmedia

Organic

Ads

PRPlayStore page

ACQUISITION

AppStore page

ACQUISITION

Page 35: The Firebase tier for your mobile app - DevFest CH

Firebase + AdWords

Import key eventsfrom Firebase to AdWords

Export audiencescreated in Firebase to AdWords

Conversion trackingfor app-opens & in-app events

Page 36: The Firebase tier for your mobile app - DevFest CH

Running paid media campaigns is simplified

Add SDKSet-up tracking

& start campaignMeasure

performance OptimizeRun better campaigns

One SDK to track installs from20+ networks

Auto-generated campaign URLs

X-network attribution and LTV

Segment audiences Remarket tolapsed users or find

higher LTV users

Page 37: The Firebase tier for your mobile app - DevFest CH
Page 38: The Firebase tier for your mobile app - DevFest CH
Page 39: The Firebase tier for your mobile app - DevFest CH
Page 40: The Firebase tier for your mobile app - DevFest CH
Page 41: The Firebase tier for your mobile app - DevFest CH

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make revenuefrom the user?

A A R R R

Pirate Metrics

Page 42: The Firebase tier for your mobile app - DevFest CH

❏ Server side variables - key/value pair

❏ A/B testing without deploying

❏ User segmentation via Firebase Analytics &

device features

Firebase Remote Config

Page 43: The Firebase tier for your mobile app - DevFest CH

Optimizing onboarding with Remote Config

Track resultsand update values

server-side

Lookfor granular data

(maybe different onboardingexperiences work fordifferent audiences!)

Run testsusing either custom audiences or with a random percentile

Definethe experiments you

want to run

Page 44: The Firebase tier for your mobile app - DevFest CH

Firebase Remote Config - Rule types

❏ User random percentile❏ OS type❏ App ID❏ App version❏ Device language❏ Device in region/country❏ User audiance via Firebase Analytics

Page 45: The Firebase tier for your mobile app - DevFest CH
Page 46: The Firebase tier for your mobile app - DevFest CH

Firebase Remote Config - Flow

Page 47: The Firebase tier for your mobile app - DevFest CH

❏ Account management

❏ Synch & conflict resolution

❏ Out of the box UI

❏ Compatible with most common accounts

Firebase Autenthication

Page 48: The Firebase tier for your mobile app - DevFest CH

Firebase Autenthication

User features Identity providers

● Google

● Facebook

● Twitter

● Github

● Represents the account signed in

the app

● Fixed set of basic properties

● Additional custom properties via

Realtime database

● Firebase Auth instance persists

the user's state

Page 49: The Firebase tier for your mobile app - DevFest CH

How Bring-Your-Own Auth works

Your Server Firebase Auth Server Firebase SDKs

1 User signs in using any method (password, Facebook, phone #)

Authenticatewith your server

2 Mint a “custom Token”

3 Exchange custom token for Firebase Token

4 5 Authenticate your users with other Firebase SDKs, without replacing your auth system

Custom

Firebase

Page 50: The Firebase tier for your mobile app - DevFest CH

Anonymous authentication

● Some Firebase services need Authenticated users

● Use temporary anonymous accounts to authenticate

with Firebase

● It is always possible convert anonymous user to

permanent Account

Page 51: The Firebase tier for your mobile app - DevFest CH

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Pirate Metrics

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Page 52: The Firebase tier for your mobile app - DevFest CH
Page 53: The Firebase tier for your mobile app - DevFest CH

Firebase Cloud Messaging

Page 54: The Firebase tier for your mobile app - DevFest CH

❏ One services for mobile and web client

❏ Versatile message targeting

❏ Send messages from client app

❏ Integrates with Firebase Analytics

Firebase Notification - FCM

Page 55: The Firebase tier for your mobile app - DevFest CH

Firebase Notifications - Architecture

Page 56: The Firebase tier for your mobile app - DevFest CH
Page 57: The Firebase tier for your mobile app - DevFest CH
Page 58: The Firebase tier for your mobile app - DevFest CH

Measure engagement

Page 59: The Firebase tier for your mobile app - DevFest CH

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Pirate Metrics

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Page 60: The Firebase tier for your mobile app - DevFest CH

Firebase Dynamic Link

Page 61: The Firebase tier for your mobile app - DevFest CH

❏ Customize different user experiences via a single URL

❏ Works across platforms❏ Preserves URL state, even through app

install flow❏ Analytics insights

Firebase Deep links

Page 62: The Firebase tier for your mobile app - DevFest CH
Page 63: The Firebase tier for your mobile app - DevFest CH
Page 64: The Firebase tier for your mobile app - DevFest CH
Page 65: The Firebase tier for your mobile app - DevFest CH
Page 66: The Firebase tier for your mobile app - DevFest CH

Firebase App Invites

Page 67: The Firebase tier for your mobile app - DevFest CH

❏ Drop widget for sharing

❏ Support SMS & Email

❏ Recipient suggestions to the user

FirebaseApp Invites

Page 68: The Firebase tier for your mobile app - DevFest CH

32%by family, friends and collegues

How people become aware about an app?

Page 69: The Firebase tier for your mobile app - DevFest CH

Share 15% off, for you

and friends! Get 15% off

your first orderSEND

in action

Page 70: The Firebase tier for your mobile app - DevFest CH

❏ promotes app results on Google Search

❏ Associates your app and website

❏ Suggested results on the Google app

❏ App Indexing powers Now on Tap’s

Firebase App Indexing

Page 71: The Firebase tier for your mobile app - DevFest CH

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Pirate Metrics

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make revenuefrom the user?

A A R R R

Page 72: The Firebase tier for your mobile app - DevFest CH

Automatic in-app purchasing tracking

Page 73: The Firebase tier for your mobile app - DevFest CH

❏ See crashes & impact

❏ Version & OS drill down

❏ Integrate with Firebase Analytics

FirebaseCrash reporting

Page 74: The Firebase tier for your mobile app - DevFest CH
Page 75: The Firebase tier for your mobile app - DevFest CH
Page 76: The Firebase tier for your mobile app - DevFest CH

Does Firebase crash reporting replace Crashlytics?

These two particular tools behave correctly together due to their implementations.

YES

Page 77: The Firebase tier for your mobile app - DevFest CH

Firebase Crash reporting

Why we should like

● Native & ordinary crashes

displayed

● Easy setup - no initialization

● Integrated with Firebase analytics

● All in one console

What is missing

● Required Google Play Services

● No possible mark as resolved

● Search through crashes is not

easy.

● Impossible to have listener when

crash occurs

Page 78: The Firebase tier for your mobile app - DevFest CH

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Pirate Metrics with Firebase

Acquisition

AdWordsAnalytics

Activation

Remote ConfigAuthentication

Retention

Analytics, Push Notifications and Cloud Messaging

Referral

Dynamic Links, Invites, App

Indexing

Revenue

Crash reporting

A A R R R

Page 79: The Firebase tier for your mobile app - DevFest CH

Pricing

Page 80: The Firebase tier for your mobile app - DevFest CH

AcquisitionHow do weget users?

ActivationDid the user see what makes our product special?

RetentionIs the user

coming back repeatedly to use

our product?

ReferralDoes the user

like our product enough to get

others to use itas well?

RevenueAre we able to make money

from the user?

A A R R R

Firebase - Included Free

Acquisition

Analytics

Activation

Remote Config, Authentication

Retention

Analytics, Push Notifications and Cloud Messaging

Referral

Dynamic Links, Invites, App

Indexing

Revenue

Crash reporting

A A R R R

https://firebase.google.com/pricing/

Page 81: The Firebase tier for your mobile app - DevFest CH

Danke!

Contact: +MatteoBonifazi - @mbonifazi - dekra06[@]gmail.com