Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Google Analytics for Firebase provides free, unlimited reporting on up to 500 distinct events. The SDK automatically captures certain key events and user properties, and you can define your own custom events to measure the things that uniquely matter to your business. Let’s see How to add Firebase Analytics in iOS app
Some Times we need to track our application like (Most view page, most like the product, the number of logins, places), etc. for that Google fireBase provides functionality.
Google Analytics helps you understand how people use your web, iOS, or Android app.
The SDK automatically captures a number of events and user properties and also allows you to define your own custom events to measure the things that uniquely matter to your business.
Once the data is captured, it’s available in a dashboard through the Firebase console.
This dashboard provides detailed insights about your data — from summary data such as active users and demographics to more detailed data such as identifying your most purchased items.
Google Analytics collects usage and behavior data for your app. The SDK logs two primary types of information:
Step1: Before you begin, add Firebase to your iOS project. You can check here to add a firebase to your project.
Step2: Now, add analytics SDK to your project.
Step3: Then open AppDelegate file in your project and import Firebase.
Step4: Configure a FirebaseApp shared instance, typically in your app’s application:didFinishLaunchingWithOptions: method:
application:didFinishLaunchingWithOptions:
Step5: After you have configured the FirebaseApp instance, you can begin to log events with the LogEvent method.
FirebaseApp
Please check the following example, how to log an event to check how many times particular Product Details are viewed.
You can also check the code in objective-C here.
Step6: To view this event in the Xcode debug console, enable Analytics debugging:
-FIRAnalyticsDebugEnabled
Thanks for reading 🙂
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.