Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Firebase Analytics++ Live! Workshop

108 views

Published on

Watch the Video Here: https://www.youtube.com/watch?v=lA6acseWx8E&t=676s

Real-time live coding of Firebase Analytics for Android. We touch on using tools such as Big Query and Data Studio to get professional results with almost no work!

Published in: Engineering
  • Login to see the comments

  • Be the first to like this

Firebase Analytics++ Live! Workshop

  1. 1. Analytics Workshop for Android WindyCity DevFest January 2018 Stacy Devino (presenter)
  2. 2. Before We Start http://bit.ly/AnalyticsAppAndroid Download the Example App
  3. 3. What is Firebase Analytics and what does it give me?
  4. 4. Deep Analytics and Dashboard ● Real-Time Analytics ● Deep User Interaction and Grouping ● Granularity down to being able to live watch a single user or a group of geographically linked users, or “Self-Linked” user groups ● COMBINED now with Google Analytics and those existing tools What does this mean? Firebase is quickly becoming the MOST complete analytics solution
  5. 5. Mobile and Compute Analytics Integration ● Fabric.io aka Crashlytics + Google Analytics ● User Engagement Track-able along with timing (screen_view) ● Firebase User Experience Monitoring built in for FREE ● Cloud Functions (JS) to make fully automated systems (Analytics to GCM) ● Compute Engine (including TensorFlow) via BigQuery ● Phone # Authentication built-in and custom User ID’s What does this mean? Fanciness to do categorization and do user-centered design and performance.
  6. 6. Set up So simple, I can’t believe I am showing this.
  7. 7. Android Code Time! bit.ly/FirebaseAnalyticsWorkshopCode
  8. 8. Adding Your Events Pre-configured events and standard parameters Bundle bundle = new Bundle(); bundle.putString(FirebaseAnalytics.Param.ITEM_NAME, name); bundle.putString(FirebaseAnalytics.Param.CONTENT_TYPE, "image"); mFirebaseAnalytics.logEvent( FirebaseAnalytics.Event.SELECT_CONTENT, bundle); Custom events and custom parameters Bundle bundle = new Bundle(); bundle.putString("image_name", name); mFirebaseAnalytics.logEvent("profile_image_select", bundle);
  9. 9. User Grouping with Parameters These can be added statically at startup or dynamically, based off of user choices. mFirebaseAnalytics = FirebaseAnalytics.getInstance(this); mFirebaseAnalytics.setUserProperty("preferred_pet", petSelector); mFirebaseAnalytics.setUserId("userIdString");
  10. 10. if (fragments.size() > 0){ //Send the PAGE NAME on the Auto screen_view event Fragment lastFragment = fragments.get( fragments.size() - 1); mFirebaseAnalytics.setCurrentScreen(activity, lastFragment.getClass().getName(), null); } else if (activity.getTitle() != null) { mFirebaseAnalytics.setCurrentScreen(activity, activity.getTitle().toString(), null); } Set Screen names *Automagically*
  11. 11. Explore the Dashboard Let’s looks at the results!
  12. 12. Demographics = More Knowledge about Users
  13. 13. Streamview - watching user events as they use the app
  14. 14. Storage and Query? By Default, Firebase is not query-able and doesn’t allow export to GCP or external Data warehousing. Answer? BigQuery!
  15. 15. Expanding Capabilities with BigQuery BigQuery is essentially a SQL queryable data warehouse on GCP. Let’s Take a Look!
  16. 16. Co$t, an example Example Cost Video Section: https://youtu.be/Ki_F6VCOtXU?t=86 Realistically, most people wouldn’t burn through the free GCP $ in the first year. 20k users and normal use <$5/month Easy Cost Calculator: https://cloud.google.com/products/calculator/
  17. 17. Slides: bit.ly/FBAnalyticsWorkshop About Me: • Google Developer Expert - Android • Native Apps Lead - Alkami Technology (FinTech) • Intel Innovator, DMS Member, Vintage game collector/restorer, 6Sigma Black Belt, Sneakerhead • Google Developer Group Organizer / Women Techmakers Lead for Dallas / GDG South Mentor WEBSITES www.stacydevino.com www.ledgoes.com www.openbrite.com EMAIL childofthehorn@gmail.com nerds@openbrite.com LinkedIn .linkedin.com/in/stacy-devi no-40ba6815/ TWITTER @DoesitPew
  18. 18. BONUS POINTS! Big Query Extra Info

×