Recall & Review
beginner
What is Firebase Analytics used for in a mobile app?
Firebase Analytics helps you understand how users interact with your app by collecting data about user behavior and events.
Click to reveal answer
beginner
How do you log a custom event in Firebase Analytics using Flutter?
Use the method `FirebaseAnalytics.instance.logEvent(name: 'event_name', parameters: {'key': 'value'});` to log a custom event.
Click to reveal answer
intermediate
Why is it important to set user properties in Firebase Analytics?
User properties help you segment your users by attributes like language or user type, making your analytics more meaningful.
Click to reveal answer
intermediate
Which Firebase Analytics method tracks screen views in Flutter?
Use `FirebaseAnalytics.instance.setCurrentScreen(screenName: 'ScreenName');` to track screen views.
Click to reveal answer
intermediate
What is the difference between automatic and manual event logging in Firebase Analytics?
Automatic events are logged by Firebase without extra code, like app installs. Manual events require you to call logEvent to track custom actions.
Click to reveal answer
Which Flutter package do you use to integrate Firebase Analytics?
✗ Incorrect
The firebase_analytics package is specifically for Firebase Analytics integration.
How do you log a custom event named 'purchase' with a parameter 'item' in Firebase Analytics?
✗ Incorrect
The correct syntax uses logEvent with named parameters for name and parameters.
What method sets the current screen name for analytics in Flutter?
✗ Incorrect
setCurrentScreen is the method to set the screen name for Firebase Analytics.
Which of these is NOT a benefit of using Firebase Analytics?
✗ Incorrect
Sending push notifications is handled by Firebase Cloud Messaging, not Analytics.
What type of events does Firebase Analytics log automatically?
✗ Incorrect
Firebase Analytics automatically logs events like app installs and first opens.
Explain how to log a custom event in Firebase Analytics using Flutter.
Think about the method name and how you pass event details.
You got /3 concepts.
Describe the difference between automatic and manual event logging in Firebase Analytics.
Consider what Firebase does by itself versus what you need to code.
You got /3 concepts.