SlideShare a Scribd company logo
What I learned about
Firebase Analytics
By Nick Guebhard, 23 November 2016
Ground work
Find a willing client Client: “I want to track my
App. Can you do the GA?”
Nick: “Yes, but Google have
released this new thing called
Firefly or something.”
Client: “Great. Our developers
love new shinies.”
Nick: “But I haven’t done it
before”.
Client: “Grow some huevos,
Nick!”.
Firebase Analytics vs. Google Analytics
500 Events Unlimited Events and unlimited
Screen views
25 parameters per event
25 user properties
20 custom dimensions (user,
session, hit, product) +
Enhanced Ecom dimensions
1 “value” parameter per event
(i.e. 500 custom metrics)
Many pageview, event, social,
ecom metrics (+ 20 custom
metrics)
Audiences + user level filters Report filters, Segments
BigQuery export No BigQuery (free version)
GTM compatible GTM compatible
No API API
Just very
close
platonic
friends
Events
★ Up to 500 events (event names)
★ 32 character limit for event names
★ Automatically collected events -
○ first_open, in_app_purchase, etc.
★ Predefined events
○ General - select_content, search, etc.
○ Retail/Ecommerce - view_item,
add_to_cart, etc.
○ Lead gen - generate_lead, view_item
○ Games - Level_up, post_score, etc
★ Custom events
○ click_to_call, customer_service_submit
○ bank_robbery, train_robbery, poker_game,
gun_fight, hanging
Parameters
★ Up to 25 parameters per event
★ 40 character limit for parameter names, 100 for parameter values
★ Some automatically collected events have associated automatic params
★ Predefined parameters
○ view_item - item_id
○ add_to_cart - quantity, item_id, item_category
○ generate_lead - value, currency
○ level_up - level
★ Custom parameters
○ click_to_call - 0800_number, click_to_call_screen
○ edit_photo_save - filter_style, horizon_adjustment, crop_dimensions
User properties
★ Automatically collected
○ Age, Gender, Interests
○ Device category, brand and model (+ID)
○ Country, language
○ Operating system version
○ App version, App store
○ First open time, new/established
★ Custom (up to 25)
○ Login ID
○ Purchase history
○ User type
Scoping
Get to know everything about the app
Tracking spec
Event Name Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5
item_view item_id item_name item_size item_colour item_category
<when prod is
viewed>
{{product sku}} {{prod name}} {{prod size}} {{prod colour}} {{prod category}
SD1234 10 Gallon hat Big White Hats
Bigger Black
Ridiculous Brown
add_to_wishlist item_id item_name item_size item_colour item_category
<product save> (as above)
Build
Steps
I. Create a Firebase Project
II. Install the Firebase SDK in the app
III. Add the app to the Firebase Project
IV. Add 3 lines of code in your App to enable Firebase Analytics
V. Add GTM to your App (optional)
VI. Add code to Log Events, eg:
Bundle bundle = new Bundle();
bundle.putString(FirebaseAnalytics.Param.ITEM_ID, id);
bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, name);
bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image");
mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
Quality
Assurance
Testing (Android Debug Bridge)
1. Install Android Debug Bridge (ADB) from Android SDK
2. Add test app to your phone/emulator
3. Connect phone/emulator to ADB
4. Run command line/terminal commands to filter to Firebase Analytics data in log
data:
adb shell setprop log.tag.FA VERBOSE
adb shell setprop log.tag.FA-SVC VERBOSE
adb logcat -v time -s FA FA-SVC
(For iOS use Xcode Debug Console)
Note results of QA
Event Name Parameter 1 Parameter 2 Parameter
3
Parameter
4
Parameter
5
P item_view item_id item_name item_size item_colour item_catego
ry
<when prod is
viewed>
{{product
sku}}
{{prod name}} {{prod
size}}
{{prod
colour}}
{{prod
category}
SD1234 10 Gallon hat Big White Hats
Bigger Black
Ridiculous Brown
F add_to_wishlist item_id item_name item_size item_colour item_catego
ry
<product save> (as above)
Firebase
analytics
configuration
Manually Add all user properties
Configure links and postbacks
Configure audiences
Add Goals
Add funnels
Live reporting
demo
Configure GTM
Firebase Tracking acts as a Data Layer
Add GA tags (optional)
Add any other tracking tags
Connect to
BigQuery
Connect to BigQuery
★ Do this through Firebase. It will
automatically create Project & Tables
★ A link then appears in your events tab
Run JavaScript or SQL queries
The End

More Related Content

PDF
Building Extraordinary Apps with Firebase Analytics
PDF
20160910 MeasureCamp #9 Presentation - App Tracking 2.0 - Google Firebase Ana...
PDF
Firebase analytics event_201607
PPTX
Getting Started with Firebase Cloud Functions
PPTX
What is new in Firebase?
PPTX
Firebase in action
PPTX
Google Firebase
PDF
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...
Building Extraordinary Apps with Firebase Analytics
20160910 MeasureCamp #9 Presentation - App Tracking 2.0 - Google Firebase Ana...
Firebase analytics event_201607
Getting Started with Firebase Cloud Functions
What is new in Firebase?
Firebase in action
Google Firebase
#MBLTdev: Разработка backend для мобильного приложения с использованием Googl...

What's hot (19)

PDF
Google Cloud Platform 2014Q1 - Starter Guide
PPTX
Firebase Cloud Functions
PDF
Contribution day guide. MLEU 2019
PDF
Introduction to Android M
PDF
Top Advantages of Using Google Cloud Platform
PDF
Firebase in a Nutshell
PDF
Streak + Google Cloud Platform
PPTX
DevFest Forged in Firebase
PPTX
Azure Event Grid - Serverless integration in Azure
PDF
PDF
10 things you can do at the edge
PDF
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
PPTX
3 Steps Integrate Microsoft Graph with Azure Bot Services
PPTX
Introduction to BizTalk Server 2016 Feature Pack 2
PDF
"草APIサービス" Pixela を作った話
PPTX
Deploying web apis on core clr to docker
PPT
Alm Specialist Toolkit Team System 2008 Deep Dive
PPTX
Serverless integration - Logic Apps the most comprehensive integration service
PDF
Activiti & Activiti Cloud DevCon
Google Cloud Platform 2014Q1 - Starter Guide
Firebase Cloud Functions
Contribution day guide. MLEU 2019
Introduction to Android M
Top Advantages of Using Google Cloud Platform
Firebase in a Nutshell
Streak + Google Cloud Platform
DevFest Forged in Firebase
Azure Event Grid - Serverless integration in Azure
10 things you can do at the edge
Google Technical Webinar - Building Mashups with Google Apps and SAP, using S...
3 Steps Integrate Microsoft Graph with Azure Bot Services
Introduction to BizTalk Server 2016 Feature Pack 2
"草APIサービス" Pixela を作った話
Deploying web apis on core clr to docker
Alm Specialist Toolkit Team System 2008 Deep Dive
Serverless integration - Logic Apps the most comprehensive integration service
Activiti & Activiti Cloud DevCon
Ad

Similar to What I learned about firebase analytics (20)

PPTX
Firebase Analytics
PPTX
Firebase Analytics
PDF
Android 103 - Firebase and Architecture Components
PPTX
Introduction to Digital Analytics for Apps - Trusted Conf
PDF
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
PDF
The Firebase tier for your mobile app - DevFest CH
PDF
Firebase. Предмет и область применения — Тимур Ахметгареев
PPTX
Firebase Services
PPTX
Google Firebase - Analytics, Remote Config, Authentication
PDF
Refael Bitton @ All Things DATA 2016 - Firebase Analytics
PPTX
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
PPTX
Firebase Predictions
PPTX
Google Firebase Presentation
PDF
Using Firebase Analytics to Track User Behavior in Ionic Apps.pdf
PPTX
Tech Winter Break - GDG OnCampus International Institute of Information Techn...
PPTX
Discover Google Firebase Platform
PDF
Introduction to Firebase from Google
PPTX
PPTX
Firebase PPT
PPTX
Google Firebase
Firebase Analytics
Firebase Analytics
Android 103 - Firebase and Architecture Components
Introduction to Digital Analytics for Apps - Trusted Conf
Firebase Analytics - Best Practices To Attract, Engage, Convert & Measure You...
The Firebase tier for your mobile app - DevFest CH
Firebase. Предмет и область применения — Тимур Ахметгареев
Firebase Services
Google Firebase - Analytics, Remote Config, Authentication
Refael Bitton @ All Things DATA 2016 - Firebase Analytics
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
Firebase Predictions
Google Firebase Presentation
Using Firebase Analytics to Track User Behavior in Ionic Apps.pdf
Tech Winter Break - GDG OnCampus International Institute of Information Techn...
Discover Google Firebase Platform
Introduction to Firebase from Google
Firebase PPT
Google Firebase
Ad

Recently uploaded (20)

PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Qualitative Qantitative and Mixed Methods.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Introduction to Knowledge Engineering Part 1
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
Introduction to machine learning and Linear Models
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PPTX
Database Infoormation System (DBIS).pptx
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
Computer network topology notes for revision
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
STUDY DESIGN details- Lt Col Maksud (21).pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
ISS -ESG Data flows What is ESG and HowHow
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Qualitative Qantitative and Mixed Methods.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
Introduction to Knowledge Engineering Part 1
Miokarditis (Inflamasi pada Otot Jantung)
Fluorescence-microscope_Botany_detailed content
Introduction to machine learning and Linear Models
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
Database Infoormation System (DBIS).pptx
.pdf is not working space design for the following data for the following dat...
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Introduction-to-Cloud-ComputingFinal.pptx
Computer network topology notes for revision
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...

What I learned about firebase analytics

  • 1. What I learned about Firebase Analytics By Nick Guebhard, 23 November 2016
  • 3. Find a willing client Client: “I want to track my App. Can you do the GA?” Nick: “Yes, but Google have released this new thing called Firefly or something.” Client: “Great. Our developers love new shinies.” Nick: “But I haven’t done it before”. Client: “Grow some huevos, Nick!”.
  • 4. Firebase Analytics vs. Google Analytics 500 Events Unlimited Events and unlimited Screen views 25 parameters per event 25 user properties 20 custom dimensions (user, session, hit, product) + Enhanced Ecom dimensions 1 “value” parameter per event (i.e. 500 custom metrics) Many pageview, event, social, ecom metrics (+ 20 custom metrics) Audiences + user level filters Report filters, Segments BigQuery export No BigQuery (free version) GTM compatible GTM compatible No API API
  • 6. Events ★ Up to 500 events (event names) ★ 32 character limit for event names ★ Automatically collected events - ○ first_open, in_app_purchase, etc. ★ Predefined events ○ General - select_content, search, etc. ○ Retail/Ecommerce - view_item, add_to_cart, etc. ○ Lead gen - generate_lead, view_item ○ Games - Level_up, post_score, etc ★ Custom events ○ click_to_call, customer_service_submit ○ bank_robbery, train_robbery, poker_game, gun_fight, hanging
  • 7. Parameters ★ Up to 25 parameters per event ★ 40 character limit for parameter names, 100 for parameter values ★ Some automatically collected events have associated automatic params ★ Predefined parameters ○ view_item - item_id ○ add_to_cart - quantity, item_id, item_category ○ generate_lead - value, currency ○ level_up - level ★ Custom parameters ○ click_to_call - 0800_number, click_to_call_screen ○ edit_photo_save - filter_style, horizon_adjustment, crop_dimensions
  • 8. User properties ★ Automatically collected ○ Age, Gender, Interests ○ Device category, brand and model (+ID) ○ Country, language ○ Operating system version ○ App version, App store ○ First open time, new/established ★ Custom (up to 25) ○ Login ID ○ Purchase history ○ User type
  • 10. Get to know everything about the app
  • 11. Tracking spec Event Name Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5 item_view item_id item_name item_size item_colour item_category <when prod is viewed> {{product sku}} {{prod name}} {{prod size}} {{prod colour}} {{prod category} SD1234 10 Gallon hat Big White Hats Bigger Black Ridiculous Brown add_to_wishlist item_id item_name item_size item_colour item_category <product save> (as above)
  • 12. Build
  • 13. Steps I. Create a Firebase Project II. Install the Firebase SDK in the app III. Add the app to the Firebase Project IV. Add 3 lines of code in your App to enable Firebase Analytics V. Add GTM to your App (optional) VI. Add code to Log Events, eg: Bundle bundle = new Bundle(); bundle.putString(FirebaseAnalytics.Param.ITEM_ID, id); bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, name); bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image"); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_CONTENT, bundle);
  • 15. Testing (Android Debug Bridge) 1. Install Android Debug Bridge (ADB) from Android SDK 2. Add test app to your phone/emulator 3. Connect phone/emulator to ADB 4. Run command line/terminal commands to filter to Firebase Analytics data in log data: adb shell setprop log.tag.FA VERBOSE adb shell setprop log.tag.FA-SVC VERBOSE adb logcat -v time -s FA FA-SVC (For iOS use Xcode Debug Console)
  • 16. Note results of QA Event Name Parameter 1 Parameter 2 Parameter 3 Parameter 4 Parameter 5 P item_view item_id item_name item_size item_colour item_catego ry <when prod is viewed> {{product sku}} {{prod name}} {{prod size}} {{prod colour}} {{prod category} SD1234 10 Gallon hat Big White Hats Bigger Black Ridiculous Brown F add_to_wishlist item_id item_name item_size item_colour item_catego ry <product save> (as above)
  • 18. Manually Add all user properties
  • 19. Configure links and postbacks
  • 25. Firebase Tracking acts as a Data Layer
  • 26. Add GA tags (optional)
  • 27. Add any other tracking tags
  • 29. Connect to BigQuery ★ Do this through Firebase. It will automatically create Project & Tables ★ A link then appears in your events tab
  • 30. Run JavaScript or SQL queries