For firebase analytics, we can enable/disable analytics collection by calling
- (void)setAnalyticsCollectionEnabled:(BOOL)analyticsCollectionEnabled
But how can we get the enable status of Firebase analytics? Is there a method like:
- (BOOL)isAnalyticsCollectionEnabled
In the Firebase console, open your project. Select Analytics from the menu to view the Analytics reporting dashboard. The Events tab shows the event reports that are automatically created for each distinct type of event logged by your app. Read more about the Analytics reporting dashboard in the Firebase Help Center.
It takes a few hours, normally around 3-4 hours but the documentation says that the dashboard updates “a few times every day” and it can take up to 24 hours. 5. Does Firebase Analytics work offline? Firebase with batch the events and store them locally on the device.
To enable Analytics debug mode in your browser, install the Google Analytics Debugger Chrome extension. Once installed, enable the extension and refresh the page. From that point on, the extension will log events in your app in debug mode. You can view events logged in the DebugView in the Firebase console.
Unfortunately you can't. Analytics are enabled by default, so you can perfectly track this yourself. From Firebase documentation:
Sets whether analytics collection is enabled for this app on this device. This setting is persisted across app sessions. By default it is enabled.
But, if your code eventually loses track of the current state, you should probably set it again to the desired on/off status just to be extra sure ;-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With