26-27
November
The Firebase tier for your app
Matteo 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-platform
C++ and Unity compliant
Pirate metrics with Firebase
http://www.slideshare.net/dmc500hats/startup-metrics-for-pirates-long-version
User lifecycle
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make revenue
from the user?
1 2 3 4 5
Pirate Metrics
Acquisition
How do we
get users?
Activation
Did the user
see what
makes our
product
special?
Retention
Is the user
coming back
repeatedly to
use our
product?
Referral
Does the user
like our
product
enough to get
others to use
it
as well?
Revenue
Are 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
Automatic
App 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
Social
media
Organic
Ads
PR
PlayStore page
ACQUISITION
AppStore page
ACQUISITION
Firebase + AdWords
Import key events
from Firebase to AdWords
Export audiences
created in Firebase to AdWords
Conversion tracking
for app-opens & in-app events
Running paid media campaigns is simplified
Add SDK
Set-up tracking
& start campaign
Measure
performance Optimize
Run better
campaigns
One SDK to track
installs from
20+ networks
Auto-generated
campaign URLs
X-network attribution
and LTV
Segment audiences Remarket to
lapsed users or find
higher LTV users
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make revenue
from 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 results
and update values
server-side
Look
for granular data
(maybe different onboarding
experiences work for
different audiences!)
Run tests
using either custom
audiences or with a
random percentile
Define
the 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
● 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
How Bring-Your-Own Auth works
Your Server Firebase Auth Server Firebase SDKs
1 User signs in using any
method (password,
Facebook, phone #)
Authenticate
with 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
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Pirate Metrics
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are 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
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Pirate Metrics
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are 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
Firebase
App 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
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Pirate Metrics
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make revenue
from the user?
A A R R R
Automatic in-app purchasing tracking
❏ See crashes & impact
❏ Version & OS drill down
❏ Integrate with Firebase Analytics
Firebase
Crash 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
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are we able to
make money
from the user?
A A R R R
Pirate Metrics with Firebase
Acquisition
AdWords
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
Pricing
Acquisition
How do we
get users?
Activation
Did the user see
what makes our
product special?
Retention
Is the user
coming back
repeatedly to use
our product?
Referral
Does the user
like our product
enough to get
others to use it
as well?
Revenue
Are 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

The Firebase tier for your mobile app - DevFest CH

  • 1.
    26-27 November The Firebase tierfor your app Matteo Bonifazidevfest.ch
  • 2.
    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
  • 3.
  • 9.
    What is inyour app? ANALYTICS NOTIFICATION CRASH Reporting Extra Services
  • 10.
  • 11.
  • 13.
  • 14.
    http://www.slideshare.net/dmc500hats/startup-metrics-for-pirates-long-version User lifecycle Acquisition How dowe get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make revenue from the user? 1 2 3 4 5
  • 15.
    Pirate Metrics Acquisition How dowe get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make revenue from the user? A A R R R
  • 16.
    ❏ Designed forapps ❏ Event and user centric ❏ Connects across Firebase ❏ Free & unlimited Firebase Analytics
  • 17.
    Audiance segmentation Firebase AnalyticsKeylines Unlimited reporting Up to 500 distinct events per app
  • 18.
    Audiences an audience accumulatesusers who meet the specified criteria
  • 19.
    How create anaudience? ⋅ 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 Automatic App Version - Device Model - Gender - Age - OS version - Interests - New/Established User
  • 20.
    How create anaudience? ⋅ 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
  • 22.
    Firebase services Firebase AnalyticsIntegration 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
  • 30.
    Does Firebase analyticsreplace Google Analytics? NO
  • 31.
    Firebase Analytics Why weshould 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
  • 32.
    Which should Iuse? ● 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
  • 33.
  • 34.
  • 35.
    Firebase + AdWords Importkey events from Firebase to AdWords Export audiences created in Firebase to AdWords Conversion tracking for app-opens & in-app events
  • 36.
    Running paid mediacampaigns is simplified Add SDK Set-up tracking & start campaign Measure performance Optimize Run better campaigns One SDK to track installs from 20+ networks Auto-generated campaign URLs X-network attribution and LTV Segment audiences Remarket to lapsed users or find higher LTV users
  • 41.
    Acquisition How do we getusers? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make revenue from the user? A A R R R Pirate Metrics
  • 42.
    ❏ Server sidevariables - key/value pair ❏ A/B testing without deploying ❏ User segmentation via Firebase Analytics & device features Firebase Remote Config
  • 43.
    Optimizing onboarding withRemote Config Track results and update values server-side Look for granular data (maybe different onboarding experiences work for different audiences!) Run tests using either custom audiences or with a random percentile Define the experiments you want to run
  • 44.
    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
  • 46.
  • 47.
    ❏ Account management ❏Synch & conflict resolution ❏ Out of the box UI ❏ Compatible with most common accounts Firebase Autenthication
  • 48.
    Firebase Autenthication User featuresIdentity 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
  • 49.
    How Bring-Your-Own Authworks Your Server Firebase Auth Server Firebase SDKs 1 User signs in using any method (password, Facebook, phone #) Authenticate with 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
  • 50.
    Anonymous authentication ● SomeFirebase services need Authenticated users ● Use temporary anonymous accounts to authenticate with Firebase ● It is always possible convert anonymous user to permanent Account
  • 51.
    Acquisition How do we getusers? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Pirate Metrics Acquisition How do we get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R
  • 53.
  • 54.
    ❏ One servicesfor mobile and web client ❏ Versatile message targeting ❏ Send messages from client app ❏ Integrates with Firebase Analytics Firebase Notification - FCM
  • 55.
  • 58.
  • 59.
    Acquisition How do we getusers? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Pirate Metrics Acquisition How do we get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Acquisition How do we get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R
  • 60.
  • 61.
    ❏ Customize differentuser experiences via a single URL ❏ Works across platforms ❏ Preserves URL state, even through app install flow ❏ Analytics insights Firebase Deep links
  • 66.
  • 67.
    ❏ Drop widgetfor sharing ❏ Support SMS & Email ❏ Recipient suggestions to the user Firebase App Invites
  • 68.
    32%by family, friendsand collegues How people become aware about an app?
  • 69.
    Share 15% off, foryou and friends! Get 15% off your first orderSEND in action
  • 70.
    ❏ promotes appresults on Google Search ❏ Associates your app and website ❏ Suggested results on the Google app ❏ App Indexing powers Now on Tap’s Firebase App Indexing
  • 71.
    Acquisition How do we getusers? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Pirate Metrics Acquisition How do we get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Acquisition How do we get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Acquisition How do we get users? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make revenue from the user? A A R R R
  • 72.
  • 73.
    ❏ See crashes& impact ❏ Version & OS drill down ❏ Integrate with Firebase Analytics Firebase Crash reporting
  • 76.
    Does Firebase crashreporting replace Crashlytics? These two particular tools behave correctly together due to their implementations. YES
  • 77.
    Firebase Crash reporting Whywe 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
  • 78.
    Acquisition How do we getusers? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are we able to make money from the user? A A R R R Pirate Metrics with Firebase Acquisition AdWords 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
  • 79.
  • 80.
    Acquisition How do we getusers? Activation Did the user see what makes our product special? Retention Is the user coming back repeatedly to use our product? Referral Does the user like our product enough to get others to use it as well? Revenue Are 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/
  • 81.
    Danke! Contact: +MatteoBonifazi -@mbonifazi - dekra06[@]gmail.com