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
15. 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
16. ❏ Designed for apps
❏ Event and user centric
❏ Connects across Firebase
❏ Free & unlimited
Firebase Analytics
19. 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
20. 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
21.
22. 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
31. 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
32. 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
35. Firebase + AdWords
Import key events
from Firebase to AdWords
Export audiences
created in Firebase to AdWords
Conversion tracking
for app-opens & in-app events
36. 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
37.
38.
39.
40.
41. 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
42. ❏ Server side variables - key/value pair
❏ A/B testing without deploying
❏ User segmentation via Firebase Analytics &
device features
Firebase
Remote Config
43. 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
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
47. ❏ Account management
❏ Synch & conflict resolution
❏ Out of the box UI
❏ Compatible with most common accounts
Firebase Autenthication
48. 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
49. 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
50. 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
51. 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
54. ❏ One services for mobile and web client
❏ Versatile message targeting
❏ Send messages from client app
❏ Integrates with Firebase Analytics
Firebase Notification - FCM
59. 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
61. ❏ Customize different user experiences via a
single URL
❏ Works across platforms
❏ Preserves URL state, even through app
install flow
❏ Analytics insights
Firebase Deep links
69. Share 15%
off, for you
and
friends!
Get 15% off
your first
orderSEND
in action
70. ❏ 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
71. 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
73. ❏ See crashes & impact
❏ Version & OS drill down
❏ Integrate with Firebase Analytics
Firebase
Crash reporting
74.
75.
76. Does Firebase crash reporting replace Crashlytics?
These two particular tools behave correctly together due to their implementations.
YES
77. 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
78. 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
80. 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/