Date post: | 16-Apr-2017 |
Category: |
Mobile |
Upload: | matteo-bonifazi |
View: | 461 times |
Download: | 0 times |
26-27November
The Firebase tier for your appMatteo Bonifazidevfest.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
Who knows this logo?
What is in your app?
ANALYTICS
NOTIFICATION CRASH Reporting
Extra Services
Integrated
Cross-platformC++ and Unity compliant
Pirate metrics with Firebase
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
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
❏ Designed for apps
❏ Event and user centric
❏ Connects across Firebase
❏ Free & unlimited
Firebase Analytics
Audiance segmentation
Firebase Analytics Keylines
Unlimited reporting
Up to 500 distinct events per app
Audiences
an audience accumulates users who meet the specified criteria
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
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
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
Does Firebase analytics replace Google Analytics?
NO
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
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
Firebase Analytics + AdWord
Socialmedia
Organic
Ads
PRPlayStore page
ACQUISITION
AppStore page
ACQUISITION
Firebase + AdWords
Import key eventsfrom Firebase to AdWords
Export audiencescreated in Firebase to AdWords
Conversion trackingfor app-opens & in-app events
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
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
❏ Server side variables - key/value pair
❏ A/B testing without deploying
❏ User segmentation via Firebase Analytics &
device features
Firebase Remote Config
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
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
Firebase Remote Config - Flow
❏ Account management
❏ Synch & conflict resolution
❏ Out of the box UI
❏ Compatible with most common accounts
Firebase Autenthication
Firebase Autenthication
User features Identity providers
● 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
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
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
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
Firebase Cloud Messaging
❏ One services for mobile and web client
❏ Versatile message targeting
❏ Send messages from client app
❏ Integrates with Firebase Analytics
Firebase Notification - FCM
Firebase Notifications - Architecture
Measure engagement
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
Firebase Dynamic Link
❏ Customize different user experiences via a single URL
❏ Works across platforms❏ Preserves URL state, even through app
install flow❏ Analytics insights
Firebase Deep links
Firebase App Invites
❏ Drop widget for sharing
❏ Support SMS & Email
❏ Recipient suggestions to the user
FirebaseApp Invites
32%by family, friends and collegues
How people become aware about an app?
Share 15% off, for you
and friends! Get 15% off
your first orderSEND
in action
❏ 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
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
Automatic in-app purchasing tracking
❏ See crashes & impact
❏ Version & OS drill down
❏ Integrate with Firebase Analytics
FirebaseCrash reporting
Does Firebase crash reporting replace Crashlytics?
These two particular tools behave correctly together due to their implementations.
YES
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
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
Pricing
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/
Danke!
Contact: +MatteoBonifazi - @mbonifazi - dekra06[@]gmail.com